ENH: add source files
This commit is contained in:
parent
2db908fc4f
commit
d3d2fafe27
3 changed files with 33 additions and 0 deletions
13
CMakeLists.txt
Normal file
13
CMakeLists.txt
Normal file
|
@ -0,0 +1,13 @@
|
|||
cmake_minimum_required(VERSION 3.9)
|
||||
project(MyProject)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
set(SOURCE_FILES main.cpp)
|
||||
add_executable(${CMAKE_PROJECT_NAME}_run ${SOURCE_FILES})
|
||||
|
||||
include_directories(src)
|
||||
|
||||
add_subdirectory(src)
|
||||
|
||||
target_link_libraries(${CMAKE_PROJECT_NAME}_run ${CMAKE_PROJECT_NAME}_lib)
|
Loading…
Add table
Add a link
Reference in a new issue