mirror of
				https://github.com/thunderbrewhq/thunderbrew
				synced 2025-10-31 08:16:03 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			332 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			332 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| cmake_minimum_required(VERSION 3.6)
 | |
| 
 | |
| project(GAME)
 | |
| 
 | |
| # SDL sources are in a subfolder named "SDL"
 | |
| add_subdirectory(SDL)
 | |
| 
 | |
| # Compilation of companion libraries
 | |
| #add_subdirectory(SDL_image)
 | |
| #add_subdirectory(SDL_mixer)
 | |
| #add_subdirectory(SDL_ttf)
 | |
| 
 | |
| # Your game and its CMakeLists.txt are in a subfolder named "src"
 | |
| add_subdirectory(src)
 | |
| 
 | 
