1 cmake_minimum_required (VERSION 2.6)
12 polling_filesystem_monitor.cpp
18 set(OS_SPECIFIC_SOURCES
19 compiler/vs/disable_silly_warnings.h
20 compiler/vs/stack_walker.cpp
21 compiler/vs/stack_walker.h
23 os/windows/current_version.h
24 os/windows/page_locked_allocator.cpp
25 os/windows/prec_timer.cpp
26 os/windows/stack_trace.cpp
27 os/windows/system_info.cpp
28 os/windows/win32_exception.cpp
29 os/windows/win32_exception.h
32 elseif (CMAKE_COMPILER_IS_GNUCXX)
33 set(OS_SPECIFIC_SOURCES
34 os/linux/signal_handlers.cpp
35 os/linux/stack_trace.cpp
36 os/linux/system_info.cpp
44 os/general_protection_fault.h
45 os/page_locked_allocator.h
52 blocking_bounded_queue_adapter.h
53 blocking_priority_queue.h
54 cache_aligned_vector.h
70 polling_filesystem_monitor.h
79 add_library(common ${SOURCES} ${HEADERS} ${OS_SPECIFIC_SOURCES})
80 add_precompiled_header(common stdafx.h FORCEINCLUDE)
82 include_directories(..)
83 include_directories(${BOOST_INCLUDE_PATH})
84 include_directories(${RXCPP_INCLUDE_PATH})
85 include_directories(${TBB_INCLUDE_PATH})
86 include_directories(${GLEW_INCLUDE_PATH})
88 source_group(sources ./*)
89 source_group(sources\\gl gl/*)
90 source_group(sources\\diagnostics diagnostics/*)
91 source_group(sources\\compiler\\vs compiler/vs/*)