Compare commits
2 Commits
5fee7a3d19
...
de1dc0dfe6
Author | SHA1 | Date |
---|---|---|
Mike Nolan | de1dc0dfe6 | |
Mike Nolan | e499f16ef7 |
|
@ -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