mirror of
https://github.com/OpenMW/openmw.git
synced 2025-07-06 19:41:35 +00:00
It is too repetitive, redundant and GCC specific. Configure with CMAKE_CXX_FLAGS_DEBUG and CMAKE_EXE_LINKER_FLAGS instead.
10 lines
390 B
CMake
10 lines
390 B
CMake
openmw_add_executable(openmw_esm_refid_benchmark benchrefid.cpp)
|
|
target_link_libraries(openmw_esm_refid_benchmark benchmark::benchmark components)
|
|
|
|
if (UNIX AND NOT APPLE)
|
|
target_link_libraries(openmw_esm_refid_benchmark ${CMAKE_THREAD_LIBS_INIT})
|
|
endif()
|
|
|
|
if (MSVC AND PRECOMPILE_HEADERS_WITH_MSVC)
|
|
target_precompile_headers(openmw_esm_refid_benchmark PRIVATE <algorithm>)
|
|
endif()
|