stk-code_catmod/lib/mcpp/CMakeLists.txt

20 lines
358 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.6.0)
2020-01-02 23:46:35 -05:00
if (UNIX OR MINGW)
add_definitions(-O3)
2020-01-03 07:45:24 -05:00
if (APPLE)
add_definitions(-D_DARWIN_C_SOURCE)
endif()
2020-01-02 23:46:35 -05:00
endif()
add_definitions(-DMCPP_LIB)
add_definitions(-DHAVE_CONFIG_H)
add_library(mcpp STATIC
directive.c
eval.c
expand.c
main.c
main_libmcpp.c
mbchar.c
support.c
system.c
)