mirror of
				https://github.com/TheLartians/ModernCppStarter.git
				synced 2025-10-31 10:11:34 +01:00 
			
		
		
		
	add and use WarningsAsErrors cmake module
export cxx_std_20 with target_compile_features() but do not export pedantic Waning options!
This commit is contained in:
		
							parent
							
								
									f0fe8d1cf6
								
							
						
					
					
						commit
						5e07aa91ac
					
				
					 4 changed files with 20 additions and 14 deletions
				
			
		|  | @ -24,6 +24,4 @@ file(GLOB sources CONFIGURE_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) | |||
| 
 | ||||
| add_executable(${PROJECT_NAME} ${sources}) | ||||
| 
 | ||||
| set_target_properties(${PROJECT_NAME} PROPERTIES CXX_STANDARD 17 OUTPUT_NAME "Greeter") | ||||
| 
 | ||||
| target_link_libraries(${PROJECT_NAME} Greeter::Greeter cxxopts) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue