mirror of
				https://github.com/TheLartians/ModernCppStarter.git
				synced 2025-10-31 02:01:33 +01:00 
			
		
		
		
	formatting updates
This commit is contained in:
		
							parent
							
								
									ced140e2f6
								
							
						
					
					
						commit
						02be04e80d
					
				
					 2 changed files with 7 additions and 4 deletions
				
			
		|  | @ -10,8 +10,12 @@ include(../cmake/tools.cmake) | ||||||
| 
 | 
 | ||||||
| include(../cmake/CPM.cmake) | include(../cmake/CPM.cmake) | ||||||
| 
 | 
 | ||||||
| option(CXXOPTS_BUILD_TESTS "" NO) | CPMAddPackage( | ||||||
| CPMAddPackage("gh:jarro2783/cxxopts@2.2.0") |   GITHUB_REPOSITORY jarro2783/cxxopts | ||||||
|  |   VERSION 2.2.0 | ||||||
|  |   OPTIONS "CXXOPTS_BUILD_TESTS NO" | ||||||
|  | ) | ||||||
|  | 
 | ||||||
| CPMAddPackage(NAME Greeter SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/..) | CPMAddPackage(NAME Greeter SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/..) | ||||||
| 
 | 
 | ||||||
| # ---- Create standalone executable ---- | # ---- Create standalone executable ---- | ||||||
|  |  | ||||||
|  | @ -16,6 +16,7 @@ include(../cmake/tools.cmake) | ||||||
| include(../cmake/CPM.cmake) | include(../cmake/CPM.cmake) | ||||||
| 
 | 
 | ||||||
| CPMAddPackage("gh:onqtam/doctest#2.4.5") | CPMAddPackage("gh:onqtam/doctest#2.4.5") | ||||||
|  | CPMAddPackage("gh:TheLartians/Format.cmake@1.7.0") | ||||||
| 
 | 
 | ||||||
| if(TEST_INSTALLED_VERSION) | if(TEST_INSTALLED_VERSION) | ||||||
|   find_package(Greeter REQUIRED) |   find_package(Greeter REQUIRED) | ||||||
|  | @ -23,8 +24,6 @@ else() | ||||||
|   CPMAddPackage(NAME Greeter SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/..) |   CPMAddPackage(NAME Greeter SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/..) | ||||||
| endif() | endif() | ||||||
| 
 | 
 | ||||||
| CPMAddPackage("gh:TheLartians/Format.cmake@1.7.0") |  | ||||||
| 
 |  | ||||||
| # ---- Create binary ---- | # ---- Create binary ---- | ||||||
| 
 | 
 | ||||||
| file(GLOB sources CONFIGURE_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) | file(GLOB sources CONFIGURE_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue