cmake-program/CMakeLists.txt

7 lines
266 B
CMake
Raw Normal View History

2023-09-02 18:32:38 +00:00
cmake_minimum_required(VERSION 3.10)
project(MyNewProgram VERSION 1.0
DESCRIPTION "CHOOSE YOUR DESCRIPTION")
add_subdirectory(deps/cmake-library)
add_executable(${PROJECT_NAME} src/main.c)
target_link_libraries(${PROJECT_NAME} PUBLIC MyNewLibrary)