1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
SET(target triton) SET(sources_c md.c timer.c triton.c conf_file.c loader.c log.c mempool.c event.c ) INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}) ADD_DEFINITIONS("-DUSE_SPINLOCK") ADD_LIBRARY(${target} SHARED ${sources_c})