GuiLite/core/CMakeLists.txt

23 lines
407 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})
TARGET_LINK_LIBRARIES(core
pthread
dl
sample)