7 lines
311 B
CMake
7 lines
311 B
CMake
|
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)
|