summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/CMakeLists.txt23
1 files changed, 16 insertions, 7 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index aae183393..f8a55c2a7 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -1,6 +1,8 @@
1# Generate cpp with Git revision from template
1configure_file("${CMAKE_CURRENT_SOURCE_DIR}/scm_rev.cpp.in" "${CMAKE_CURRENT_SOURCE_DIR}/scm_rev.cpp" @ONLY) 2configure_file("${CMAKE_CURRENT_SOURCE_DIR}/scm_rev.cpp.in" "${CMAKE_CURRENT_SOURCE_DIR}/scm_rev.cpp" @ONLY)
2 3
3set(SRCS break_points.cpp 4set(SRCS
5 break_points.cpp
4 console_listener.cpp 6 console_listener.cpp
5 extended_trace.cpp 7 extended_trace.cpp
6 file_search.cpp 8 file_search.cpp
@@ -12,23 +14,25 @@ set(SRCS break_points.cpp
12 memory_util.cpp 14 memory_util.cpp
13 misc.cpp 15 misc.cpp
14 msg_handler.cpp 16 msg_handler.cpp
15 string_util.cpp
16 scm_rev.cpp 17 scm_rev.cpp
18 string_util.cpp
17 symbols.cpp 19 symbols.cpp
18 thread.cpp 20 thread.cpp
19 timer.cpp 21 timer.cpp
20 utf8.cpp) 22 utf8.cpp
23 )
21 24
22set(HEADERS atomic.h 25set(HEADERS
26 atomic.h
23 atomic_gcc.h 27 atomic_gcc.h
24 atomic_win32.h 28 atomic_win32.h
25 bit_field.h 29 bit_field.h
26 break_points.h 30 break_points.h
27 chunk_file.h 31 chunk_file.h
32 common.h
28 common_funcs.h 33 common_funcs.h
29 common_paths.h 34 common_paths.h
30 common_types.h 35 common_types.h
31 common.h
32 console_listener.h 36 console_listener.h
33 cpu_detect.h 37 cpu_detect.h
34 debug_interface.h 38 debug_interface.h
@@ -37,10 +41,11 @@ set(HEADERS atomic.h
37 fifo_queue.h 41 fifo_queue.h
38 file_search.h 42 file_search.h
39 file_util.h 43 file_util.h
44 fixed_size_queue.h
40 hash.h 45 hash.h
41 linear_disk_cache.h 46 linear_disk_cache.h
42 log_manager.h
43 log.h 47 log.h
48 log_manager.h
44 math_util.h 49 math_util.h
45 mem_arena.h 50 mem_arena.h
46 memory_util.h 51 memory_util.h
@@ -54,8 +59,12 @@ set(HEADERS atomic.h
54 swap.h 59 swap.h
55 symbols.h 60 symbols.h
56 thread.h 61 thread.h
62 thread_queue_list.h
57 thunk.h 63 thunk.h
58 timer.h 64 timer.h
59 utf8.h) 65 utf8.h
66 )
67
68create_directory_groups(${SRCS} ${HEADERS})
60 69
61add_library(common STATIC ${SRCS} ${HEADERS}) 70add_library(common STATIC ${SRCS} ${HEADERS})