project(reflect-cpp-json-tests) file(GLOB_RECURSE SOURCES CONFIGURE_DEPENDS "*.cpp") add_executable( reflect-cpp-json-tests ${SOURCES} ) target_precompile_headers(reflect-cpp-json-tests PRIVATE [["rfl.hpp"]] ) target_include_directories(reflect-cpp-json-tests SYSTEM PRIVATE "${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/include") target_link_libraries( reflect-cpp-json-tests PRIVATE "${REFLECT_CPP_GTEST_LIB}" ) find_package(GTest) gtest_discover_tests(reflect-cpp-json-tests)