19 lines
No EOL
359 B
CMake
19 lines
No EOL
359 B
CMake
cmake_minimum_required(VERSION 3.0.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
|
|
src/io.c
|
|
src/md2.c
|
|
)
|
|
|
|
target_sources(md2 PRIVATE ${SOURCE_FILES})
|
|
|
|
target_include_directories(md2 PUBLIC
|
|
lib
|
|
) |