Initial commit.
This commit is contained in:
26
src/CMakeLists.txt
Normal file
26
src/CMakeLists.txt
Normal file
@@ -0,0 +1,26 @@
|
||||
set(target anthem)
|
||||
|
||||
file(GLOB core_sources "anthem/*.cpp")
|
||||
file(GLOB core_headers "../include/anthem/*.h")
|
||||
|
||||
set(sources
|
||||
${core_sources}
|
||||
${core_headers}
|
||||
)
|
||||
|
||||
set(includes
|
||||
${PROJECT_SOURCE_DIR}/include
|
||||
${Boost_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
set(libraries
|
||||
${Boost_LIBRARIES}
|
||||
libclasp
|
||||
libclingo
|
||||
libgringo
|
||||
pthread
|
||||
)
|
||||
|
||||
add_library(${target} ${sources})
|
||||
target_include_directories(${target} PUBLIC ${includes})
|
||||
target_link_libraries(${target} ${libraries})
|
Reference in New Issue
Block a user