2022-06-29 11:23:35 +02:00
|
|
|
cmake_minimum_required(VERSION 3.0.0)
|
2022-06-29 10:50:55 +02:00
|
|
|
|
|
|
|
# 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
|
2022-06-29 10:58:49 +02:00
|
|
|
src/io.c
|
|
|
|
src/md2.c
|
2022-06-29 10:50:55 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
target_sources(md2 PRIVATE ${SOURCE_FILES})
|
|
|
|
|
|
|
|
target_include_directories(md2 PUBLIC
|
|
|
|
lib
|
|
|
|
)
|