Files
salmanoff/commonLibs/attachmentSupport/CMakeLists.txt
T
hayodea b3bf0e2cb9 StimBuff,commonLibs: Add libattachmentSupport, move fnptrs into .cpp files
We move the methods in StimulusBuffer whose addresses are taken during
program execution into a separate static lib. This guarantees that
they'll have their own, single vaddr at runtime, at least within
each independent code module.
2025-11-02 19:12:28 -04:00

16 lines
343 B
CMake

add_library(attachmentSupport STATIC
attachmentSupport.cpp
)
set_target_properties(attachmentSupport PROPERTIES
POSITION_INDEPENDENT_CODE ON
)
target_include_directories(attachmentSupport PUBLIC
${Boost_INCLUDE_DIRS}
${CMAKE_SOURCE_DIR}/include
${CMAKE_BINARY_DIR}/include
)
target_link_libraries(attachmentSupport ${Boost_LIBRARIES})