Skip to content

Commit

Permalink
Small CMake improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
kuzmas committed Jun 5, 2013
1 parent 8b6d9e5 commit 7801084
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions config/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@ include_directories(



set(${PROJECT_NAME}_PATH_TO_DAEMON "../src")

set(${PROJECT_NAME}_SOURCES
main.cpp
main_window.cpp
actions.cpp
default_model.cpp
shortcut_selector.cpp
../src/meta_types.cpp
${${PROJECT_NAME}_PATH_TO_DAEMON}/meta_types.cpp
edit_action_dialog.cpp
shortcut_delegate.cpp
)
Expand All @@ -51,7 +53,7 @@ set(${PROJECT_NAME}_TRANSLATIONS
)

set(${PROJECT_NAME}_CPP_HEADERS
../src/meta_types.h
${${PROJECT_NAME}_PATH_TO_DAEMON}/meta_types.h
)

set(${PROJECT_NAME}_QT_HEADERS
Expand All @@ -67,11 +69,11 @@ set(${PROJECT_NAME}_DBUS_ADAPTORS
)

set(${PROJECT_NAME}_DBUS_INTERFACES
../src/org.razorqt.global_key_shortcuts.daemon.xml
${${PROJECT_NAME}_PATH_TO_DAEMON}/org.razorqt.global_key_shortcuts.daemon.xml
)
set_source_files_properties(../src/org.razorqt.global_key_shortcuts.daemon.xml PROPERTIES
set_source_files_properties(${${PROJECT_NAME}_PATH_TO_DAEMON}/org.razorqt.global_key_shortcuts.daemon.xml PROPERTIES
BASENAME org.razorqt.global_key_shortcuts.daemon
INCLUDE ../src/meta_types.h
INCLUDE ${${PROJECT_NAME}_PATH_TO_DAEMON}/meta_types.h
)


Expand Down

0 comments on commit 7801084

Please sign in to comment.