mirror of
				https://github.com/DarkflameUniverse/DarkflameServer.git
				synced 2025-11-04 06:32:00 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			580 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			580 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
SET(DGAMEMESSAGES_TESTS
 | 
						|
	"GameMessageTests.cpp"
 | 
						|
	"LegacyGameMessageTests.cpp")
 | 
						|
 | 
						|
# Get the folder name and prepend it to the files above
 | 
						|
get_filename_component(thisFolderName ${CMAKE_CURRENT_SOURCE_DIR} NAME)
 | 
						|
list(TRANSFORM DGAMEMESSAGES_TESTS PREPEND "${thisFolderName}/")
 | 
						|
 | 
						|
# Copy test files to testing directory
 | 
						|
add_subdirectory(TestBitStreams)
 | 
						|
list(TRANSFORM GAMEMESSAGE_TESTBITSTREAMS PREPEND "${thisFolderName}/")
 | 
						|
set(GAMEMESSAGE_TESTBITSTREAMS ${GAMEMESSAGE_TESTBITSTREAMS} PARENT_SCOPE)
 | 
						|
 | 
						|
# Export to parent scope
 | 
						|
set(DGAMEMESSAGES_TESTS ${DGAMEMESSAGES_TESTS} PARENT_SCOPE)
 |