mirror of
https://github.com/USCiLab/cereal.git
synced 2025-07-20 21:32:02 +02:00

* cleanup cmake files to be a little more moderen keep the source tree free of build artifacts cmakelint the cmake files too * fix cmake setup errors on CI fix APPLE clang builds too * CI needs support for realy history cmake V3.6 fix typo in cmake files using add_test() commnds * One step more to use modern cmake Prevent to modifiy compile and linker FLAGS and to set global includes pathes * fix CI build problems with older cmake versions prepare cleanup cmake list file * final cleanup use Config.cmake.in and install hole cmake config files * Fix cpp17 PORTABILITY_TEST linker problem add missed target_link_libraries() * hopefully prevent windows test problems
7 lines
251 B
CMake
7 lines
251 B
CMake
add_library(sandbox_vs_dll SHARED base.cpp derived.cpp)
|
|
target_link_libraries(sandbox_vs_dll ${CEREAL_THREAD_LIBS})
|
|
target_include_directories(sandbox_vs_dll PUBLIC
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
|
$<INSTALL_INTERFACE:include>
|
|
)
|