1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-28 22:09:42 +00:00
openmw/apps/mwiniimporter_tests/CMakeLists.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
641 B
Text
Raw Normal View History

file(GLOB INIIMPORTER_TESTS_SRC_FILES
main.cpp
)
source_group(apps\\openmw-iniimporter-tests FILES ${INIIMPORTER_TESTS_SRC_FILES})
openmw_add_executable(openmw-iniimporter-tests ${INIIMPORTER_TESTS_SRC_FILES})
target_link_libraries(openmw-iniimporter-tests PRIVATE
GTest::GTest
GMock::GMock
)
if (BUILD_WITH_CODE_COVERAGE)
target_compile_options(openmw-iniimporter-tests PRIVATE --coverage)
target_link_libraries(openmw-iniimporter-tests PRIVATE gcov)
endif()
if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.16 AND MSVC)
target_precompile_headers(openmw-iniimporter-tests PRIVATE
<gtest/gtest.h>
)
endif()