mirror of
				https://github.com/TheLartians/ModernCppStarter.git
				synced 2025-10-31 10:11:34 +01:00 
			
		
		
		
	add cmake tools option to easy dynamic setup
This commit is contained in:
		
							parent
							
								
									2cf15bc347
								
							
						
					
					
						commit
						aa02116995
					
				
					 3 changed files with 14 additions and 2 deletions
				
			
		|  | @ -24,7 +24,10 @@ file(GLOB sources CONFIGURE_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) | |||
| 
 | ||||
| add_executable(${PROJECT_NAME} ${sources}) | ||||
| 
 | ||||
| # TODO(CK): why is this needed? | ||||
| # enable pedantic compiler warnings | ||||
| include(../cmake/WarningsAsErrors.cmake) | ||||
| 
 | ||||
| # TODO(CK): why is this needed on CI? | ||||
| set_target_properties(${PROJECT_NAME} PROPERTIES OUTPUT_NAME Greeter) | ||||
| 
 | ||||
| target_link_libraries(${PROJECT_NAME} Greeter::Greeter cxxopts) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue