mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-28 00:56:37 +00:00 
			
		
		
		
	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.
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			318 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			19 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()
 |