Compare commits

..

No commits in common. "de1dc0dfe6e9c03f483353df61809aaec6ed7639" and "5fee7a3d19f61c65aeaba75410839e8382f57b7d" have entirely different histories.

5 changed files with 0 additions and 18 deletions

1
.gitignore vendored
View File

@ -1 +0,0 @@
build

View File

@ -1,7 +0,0 @@
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)

View File

@ -1,2 +0,0 @@
# cmake library template
## Please edit CMakeLists.txt

View File

@ -1,3 +0,0 @@
#pragma once
int add(int a,int b);

View File

@ -1,5 +0,0 @@
#include <add.h>
int add(int a,int b)
{
return a + b;
}