Remove examples (#764)
[dyninst.git] / dynC_API / CMakeLists.txt
1
2 file(GLOB SRC_LIST "src/*.C")
3
4 include_directories(h 
5   src 
6   ${PROJECT_SOURCE_DIR}/dyninstAPI/src
7   ${PROJECT_SOURCE_DIR}/proccontrol/h
8 )
9
10 set_source_files_properties(${SRC_LIST} PROPERTIES LANGUAGE CXX)
11 add_definitions(-DDYNC_EXPORTS)
12 if(WIN32)
13 add_definitions(-DYY_NO_UNISTD_H)
14 endif()
15
16 dyninst_library(dynC_API dyninstAPI)
17 target_link_private_libraries(dynC_API ${Boost_LIBRARIES})
18 if (USE_COTIRE)
19     cotire(dynC_API)
20 endif()