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