mirror of
https://github.com/guezoloic/t3dsr.git
synced 2026-01-25 04:34:23 +00:00
13 lines
309 B
CMake
13 lines
309 B
CMake
cmake_minimum_required(VERSION 3.10)
|
|
project(t3dsr C)
|
|
|
|
set(CMAKE_C_STANDARD 17)
|
|
|
|
# ==== sources ====
|
|
file(GLOB_RECURSE C_SOURCES CONFIGURE_DEPENDS src/*.c)
|
|
file(GLOB_RECURSE HEADERS CONFIGURE_DEPENDS src/*.h)
|
|
|
|
add_executable(main ${C_SOURCES} ${HEADERS})
|
|
if(NOT MSVC)
|
|
target_link_libraries(main m)
|
|
endif() |