ENH: add source files

This commit is contained in:
Timothy Helton 2017-12-28 11:15:19 -07:00
parent 2db908fc4f
commit d3d2fafe27
3 changed files with 33 additions and 0 deletions

13
CMakeLists.txt Normal file
View 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)