1
0
mirror of https://github.com/fumiama/CMoe-Counter.git synced 2024-11-30 16:24:28 +01:00
CMoe-Counter/CMakeLists.txt

17 lines
386 B
CMake
Raw Normal View History

2021-06-07 15:18:19 +02:00
cmake_minimum_required(VERSION 2.6)
project(CMoe-Counter C)
SET(CMAKE_BUILD_TYPE "Release")
2021-08-31 10:22:23 +02:00
# include_directories("/usr/local/include")
# link_directories("/usr/local/lib")
2021-06-07 15:18:19 +02:00
2021-06-08 14:02:48 +02:00
#在编译选项中加入c99支持
add_compile_options(-std=c99)
message(STATUS "optional:-std=c99")
2021-06-07 15:18:19 +02:00
add_executable(cmoe cmoe.c)
target_link_libraries(cmoe spb)
INSTALL(TARGETS cmoe RUNTIME DESTINATION bin)