mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-06 21:00:41 +02:00
16 lines
368 B
CMake
16 lines
368 B
CMake
|
|
|
|
set(SourceFiles
|
|
${CMAKE_CURRENT_SOURCE_DIR}/src/defs.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/src/Frame.cpp
|
|
)
|
|
|
|
add_library(core STATIC ${SourceFiles})
|
|
target_include_directories(core PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)
|
|
|
|
|
|
target_link_libraries(core PUBLIC fmt::fmt PRIVATE aare_compiler_flags)
|
|
set_property(TARGET core PROPERTY POSITION_INDEPENDENT_CODE ON)
|
|
|
|
|