First commit
This commit is contained in:
		
							parent
							
								
									e499f16ef7
								
							
						
					
					
						commit
						de1dc0dfe6
					
				| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
build
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
cmake_minimum_required(VERSION 3.10)
 | 
			
		||||
project(MyNewLibrary VERSION 1.0
 | 
			
		||||
                  DESCRIPTION "CHOOSE YOUR DESCRIPTION")
 | 
			
		||||
#add_subdirectory(project2)
 | 
			
		||||
add_library(${PROJECT_NAME} src/add.c)
 | 
			
		||||
target_include_directories(${PROJECT_NAME} PUBLIC include)
 | 
			
		||||
#target_link_libraries(${PROJECT_NAME} PUBLIC yourlibrary)
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,3 @@
 | 
			
		|||
#pragma once
 | 
			
		||||
 | 
			
		||||
int add(int a,int b);
 | 
			
		||||
		Loading…
	
		Reference in New Issue