GuiLite/core/CMakeLists.txt
2018-12-02 22:39:43 +08:00

21 lines
386 B
CMake

cmake_minimum_required(VERSION 2.8)
PROJECT(Core)
SET(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/..)
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
)