17 lines
332 B
CMake
17 lines
332 B
CMake
|
cmake_minimum_required(VERSION 2.6.0)
|
||
|
|
||
|
# here we specify that the project is C language only, so the default
|
||
|
# C compiler on the system will be used
|
||
|
project(md2 C)
|
||
|
add_executable(md2 "")
|
||
|
|
||
|
set(SOURCE_FILES
|
||
|
src/main.c
|
||
|
src/helper.c
|
||
|
)
|
||
|
|
||
|
target_sources(md2 PRIVATE ${SOURCE_FILES})
|
||
|
|
||
|
target_include_directories(md2 PUBLIC
|
||
|
lib
|
||
|
)
|