mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-04 02:41:19 +00:00
2a653e45fd
Just give it a set of files, one file per argument, and it will make sure openmw can read them.
20 lines
327 B
CMake
20 lines
327 B
CMake
set(NIFTEST
|
|
niftest.cpp
|
|
)
|
|
source_group(components\\nif\\tests FILES ${NIFTEST})
|
|
|
|
# Main executable
|
|
add_executable(niftest
|
|
${NIFTEST}
|
|
)
|
|
|
|
target_link_libraries(niftest
|
|
${Boost_FILESYSTEM_LIBRARY}
|
|
components
|
|
)
|
|
|
|
if (BUILD_WITH_CODE_COVERAGE)
|
|
add_definitions (--coverage)
|
|
target_link_libraries(niftest gcov)
|
|
endif()
|