Fix wrong register operands in x86-64 instruction decoding
[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 if (USE_COTIRE)
18     cotire(dynC_API)
19 endif()