1
0
mirror of https://github.com/fumiama/CMoe-Counter.git synced 2025-02-13 00:54:28 +01:00
CMoe-Counter/CMakeLists.txt
2024-04-12 22:39:25 +09:00

20 lines
506 B
CMake

cmake_minimum_required(VERSION 2.6)
project(CMoe-Counter C)
SET(CMAKE_BUILD_TYPE "Release")
include_directories("/usr/local/include")
link_directories("/usr/local/lib")
#在编译选项中加入c99支持
add_compile_options(-std=c99)
message(STATUS "optional:-std=c99")
add_executable(cmoe cmoe.c)
add_executable(cmoeditor editor.c)
target_link_libraries(cmoe spb)
target_link_libraries(cmoeditor spb)
#INSTALL(TARGETS cmoe RUNTIME DESTINATION bin)
INSTALL(TARGETS cmoeditor RUNTIME DESTINATION bin)