add note for executables
This commit is contained in:
		
							parent
							
								
									cd3cfca47e
								
							
						
					
					
						commit
						8a50497b19
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		|  | @ -37,8 +37,9 @@ FILE(GLOB_RECURSE sources "${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp") | ||||||
| 
 | 
 | ||||||
| # ---- Create library ---- | # ---- Create library ---- | ||||||
| 
 | 
 | ||||||
| # Note: for single header libraries use the following instead: | # Notes: | ||||||
| # add_library(Greeter INTERFACE)  | # for single header libraries use `add_library(Greeter INTERFACE)` instead  | ||||||
|  | # To create an executable use `add_executable(Greeter ${headers} ${sources})` | ||||||
| add_library(Greeter ${headers} ${sources}) | add_library(Greeter ${headers} ${sources}) | ||||||
| 
 | 
 | ||||||
| # Note: for single header libraries use the following instead: | # Note: for single header libraries use the following instead: | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue