mirror of
				https://github.com/TheLartians/ModernCppStarter.git
				synced 2025-10-31 02:01:33 +01:00 
			
		
		
		
	adapt shorthand syntax in other dependencies
This commit is contained in:
		
							parent
							
								
									27c17d63cf
								
							
						
					
					
						commit
						c3cec5974c
					
				
					 4 changed files with 5 additions and 26 deletions
				
			
		|  | @ -11,14 +11,10 @@ include(${CMAKE_CURRENT_LIST_DIR}/CPM.cmake) | |||
| # enables sanitizers support using the the `USE_SANITIZER` flag available values are: Address, | ||||
| # Memory, MemoryWithOrigins, Undefined, Thread, Leak, 'Address;Undefined' | ||||
| if(USE_SANITIZER OR USE_STATIC_ANALYZER) | ||||
|   CPMAddPackage( | ||||
|     NAME StableCoder-cmake-scripts | ||||
|     GITHUB_REPOSITORY StableCoder/cmake-scripts | ||||
|     GIT_TAG 3d2d5a9fb26f0ce24e3e4eaeeff686ec2ecfb3fb | ||||
|   ) | ||||
|   CPMAddPackage("gh:StableCoder/cmake-scripts#3d2d5a9fb26f0ce24e3e4eaeeff686ec2ecfb3fb") | ||||
| 
 | ||||
|   if(USE_SANITIZER) | ||||
|     include(${StableCoder-cmake-scripts_SOURCE_DIR}/sanitizers.cmake) | ||||
|     include(${cmake-scripts_SOURCE_DIR}/sanitizers.cmake) | ||||
|   endif() | ||||
| 
 | ||||
|   if(USE_STATIC_ANALYZER) | ||||
|  | @ -66,9 +62,5 @@ endif() | |||
| 
 | ||||
| # enables CCACHE support through the USE_CCACHE flag possible values are: YES, NO or equivalent | ||||
| if(USE_CCACHE) | ||||
|   CPMAddPackage( | ||||
|     NAME Ccache.cmake | ||||
|     GITHUB_REPOSITORY TheLartians/Ccache.cmake | ||||
|     VERSION 1.2.1 | ||||
|   ) | ||||
|   CPMAddPackage("gh:TheLartians/Ccache.cmake@1.2.1") | ||||
| endif() | ||||
|  |  | |||
|  | @ -6,15 +6,9 @@ project(GreeterDocs) | |||
| 
 | ||||
| include(../cmake/CPM.cmake) | ||||
| 
 | ||||
| CPMAddPackage("gh:mosra/m.css#42d4a9a48f31f5df6e246c948403b54b50574a2a") | ||||
| CPMAddPackage(NAME Greeter SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/..) | ||||
| 
 | ||||
| CPMAddPackage( | ||||
|   NAME MCSS | ||||
|   DOWNLOAD_ONLY YES | ||||
|   GITHUB_REPOSITORY mosra/m.css | ||||
|   GIT_TAG 42d4a9a48f31f5df6e246c948403b54b50574a2a | ||||
| ) | ||||
| 
 | ||||
| # ---- Doxygen variables ---- | ||||
| 
 | ||||
| # set Doxyfile variables | ||||
|  |  | |||
|  | @ -11,7 +11,6 @@ include(../cmake/tools.cmake) | |||
| include(../cmake/CPM.cmake) | ||||
| 
 | ||||
| CPMAddPackage("gh:jarro2783/cxxopts@2.2.0") | ||||
| 
 | ||||
| CPMAddPackage(NAME Greeter SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/..) | ||||
| 
 | ||||
| # ---- Create standalone executable ---- | ||||
|  |  | |||
|  | @ -23,13 +23,7 @@ else() | |||
|   CPMAddPackage(NAME Greeter SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/..) | ||||
| endif() | ||||
| 
 | ||||
| CPMAddPackage( | ||||
|   NAME Format.cmake | ||||
|   GITHUB_REPOSITORY TheLartians/Format.cmake | ||||
|   VERSION 1.6 | ||||
|   OPTIONS # enable cmake formatting | ||||
|           "FORMAT_CHECK_CMAKE ON" | ||||
| ) | ||||
| CPMAddPackage("gh:TheLartians/Format.cmake@1.7.0") | ||||
| 
 | ||||
| # ---- Create binary ---- | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue