mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-08 09:37:53 +00:00
cdfa24e15d
Just give it a set of files, one file per argument, and it will make sure openmw can read them. On linux/mac you can use "xargs --arg-file=nifs.txt ./niftest" to give it a list of files to check.
20 lines
318 B
CMake
20 lines
318 B
CMake
set(NIFTEST
|
|
niftest.cpp
|
|
)
|
|
source_group(components\\nif\\tests FILES ${NIFTEST})
|
|
|
|
# Main executable
|
|
add_executable(niftest
|
|
${NIFTEST}
|
|
)
|
|
|
|
target_link_libraries(niftest
|
|
${Boost_LIBRARIES}
|
|
components
|
|
)
|
|
|
|
if (BUILD_WITH_CODE_COVERAGE)
|
|
add_definitions (--coverage)
|
|
target_link_libraries(niftest gcov)
|
|
endif()
|