mirror of
				https://github.com/TheLartians/ModernCppStarter.git
				synced 2025-10-31 02:01:33 +01:00 
			
		
		
		
	update README
update CPM.cmake to version 0.30.0
This commit is contained in:
		
							parent
							
								
									49fc73f82c
								
							
						
					
					
						commit
						d9210698c9
					
				
					 4 changed files with 9 additions and 5 deletions
				
			
		
							
								
								
									
										2
									
								
								.github/workflows/documentation.yaml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/documentation.yaml
									
										
									
									
										vendored
									
									
								
							|  | @ -22,7 +22,7 @@ jobs: | ||||||
| 
 | 
 | ||||||
|       - name: Install dependencies |       - name: Install dependencies | ||||||
|         run: | |         run: | | ||||||
|           brew install doxygen |           brew install doxygen graphviz | ||||||
|           pip3 install jinja2 Pygments |           pip3 install jinja2 Pygments | ||||||
| 
 | 
 | ||||||
|       - name: Build |       - name: Build | ||||||
|  |  | ||||||
|  | @ -17,6 +17,8 @@ This template is the result of learnings from many previous projects and should | ||||||
| ## Features | ## Features | ||||||
| 
 | 
 | ||||||
| - [Modern CMake practices](https://pabloariasal.github.io/2018/02/19/its-time-to-do-cmake-right/) | - [Modern CMake practices](https://pabloariasal.github.io/2018/02/19/its-time-to-do-cmake-right/) | ||||||
|  | - [CMake for library authors: Best practice](https://crascit.com/2019/10/16/cppcon-2019-deep-cmake-for-library-authors/) | ||||||
|  | - [Modernize C++ using clang-tidy](https://www.kdab.com/clang-tidy-part-1-modernize-source-code-using-c11c14/) | ||||||
| - Suited for single header libraries and projects of any scale | - Suited for single header libraries and projects of any scale | ||||||
| - Clean separation of library and executable code | - Clean separation of library and executable code | ||||||
| - Integrated test suite | - Integrated test suite | ||||||
|  |  | ||||||
|  | @ -1,4 +1,4 @@ | ||||||
| set(CPM_DOWNLOAD_VERSION 0.28.4) | set(CPM_DOWNLOAD_VERSION 0.30.0) | ||||||
| 
 | 
 | ||||||
| if(CPM_SOURCE_CACHE) | if(CPM_SOURCE_CACHE) | ||||||
|   # Expand relative path. This is important if the provided path contains a tilde (~) |   # Expand relative path. This is important if the provided path contains a tilde (~) | ||||||
|  |  | ||||||
|  | @ -7,6 +7,8 @@ project(GreeterDocs) | ||||||
| include(../cmake/CPM.cmake) | include(../cmake/CPM.cmake) | ||||||
| CPMUsePackageLock(package-lock.cmake) | CPMUsePackageLock(package-lock.cmake) | ||||||
| 
 | 
 | ||||||
|  | include(../cmake/options.cmake) | ||||||
|  | 
 | ||||||
| CPMAddPackage(NAME Greeter SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/..) | CPMAddPackage(NAME Greeter SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/..) | ||||||
| 
 | 
 | ||||||
| CPMAddPackage( | CPMAddPackage( | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue