mirror of
https://gitee.com/idea4good/GuiLite.git
synced 2025-01-15 17:02:52 +08:00
23 lines
417 B
CMake
23 lines
417 B
CMake
cmake_minimum_required(VERSION 2.8)
|
|
|
|
PROJECT(Core)
|
|
|
|
SET(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/..)
|
|
|
|
ADD_DEFINITIONS(-fpermissive)
|
|
|
|
INCLUDE_DIRECTORIES(core_include)
|
|
|
|
FILE(GLOB MAIN src/*.cpp)
|
|
FILE(GLOB ADAPTER src/adapter/api_linux.cpp
|
|
src/adapter/audio_linux.cpp
|
|
src/adapter/msg_linux.cpp)
|
|
|
|
ADD_LIBRARY(core
|
|
${MAIN}
|
|
${ADAPTER})
|
|
|
|
execute_process(
|
|
COMMAND ${CMAKE_SOURCE_DIR}/.sync.sh Core
|
|
)
|