This repository has been archived on 2023-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
plasp/src/CMakeLists.txt

38 lines
644 B
CMake
Raw Normal View History

2016-05-20 15:29:24 +02:00
set(target plasp)
file(GLOB core_sources "plasp/*.cpp")
file(GLOB core_headers "../include/plasp/*.h")
file(GLOB sas_sources "plasp/sas/*.cpp")
file(GLOB sas_headers "../include/plasp/sas/*.h")
file(GLOB utils_sources "plasp/utils/*.cpp")
file(GLOB utils_headers "../include/plasp/utils/*.h")
2016-05-20 15:29:24 +02:00
include_directories(
${Boost_INCLUDE_DIRS}
)
include_directories(
${PROJECT_SOURCE_DIR}/include
)
set(sources
${core_sources}
${core_headers}
${sas_sources}
${sas_headers}
${utils_sources}
${utils_headers}
2016-05-20 15:29:24 +02:00
)
set(libraries
${Boost_LIBRARIES}
pthread
)
add_library(${target} ${sources})
target_link_libraries(${target} ${libraries})