mirror of
https://codeberg.org/DawnMagnet/reflect-cpp
synced 2026-12-03 16:56:17 +08:00
19 lines
656 B
CMake
19 lines
656 B
CMake
project(reflect-cpp-all-format-benchmarks)
|
|
|
|
file(GLOB_RECURSE SOURCES CONFIGURE_DEPENDS "*.cpp")
|
|
|
|
add_executable(
|
|
reflect-cpp-all-format-benchmarks
|
|
${SOURCES}
|
|
)
|
|
target_precompile_headers(reflect-cpp-all-format-benchmarks PRIVATE [["rfl.hpp"]] <iostream> <string> <functional>)
|
|
|
|
target_include_directories(reflect-cpp-all-format-benchmarks SYSTEM PRIVATE "${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/include")
|
|
target_include_directories(reflect-cpp-all-format-benchmarks SYSTEM PRIVATE "${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/include/tinycbor")
|
|
|
|
target_link_libraries(
|
|
reflect-cpp-all-format-benchmarks
|
|
PRIVATE
|
|
reflectcpp
|
|
)
|