1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-31 09:32:03 +02:00

Compile kdsingleapplicationguard as separate lib

This commit is contained in:
Uwe L. Korn
2014-05-22 15:25:33 +01:00
parent fcf57ee535
commit 3257d2fbd5
17 changed files with 34 additions and 13 deletions

View File

@@ -0,0 +1,24 @@
cmake_minimum_required(VERSION 2.6)
project(kdsingleapplicationguard)
list(APPEND kdsingleapplicationguard_INCLUDE_DIRECTORIES
${QT_INCLUDES}
${QT_QTCORE_INCLUDE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
)
list(APPEND kdsingleapplicationguard_SOURCES
kdsingleapplicationguard.cpp
kdsharedmemorylocker.cpp
kdtoolsglobal.cpp
kdlockedsharedmemorypointer.cpp
)
include_directories(${kdsingleapplicationguard_INCLUDE_DIRECTORIES})
add_library(kdsingleapplicationguard STATIC ${kdsingleapplicationguard_SOURCES})
set_target_properties(
kdsingleapplicationguard
PROPERTIES
AUTOMOC TRUE
)
qt5_use_modules(kdsingleapplicationguard Core)