aboutsummaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2017-03-11 23:20:25 +0100
committerMarvin W <git@larma.de>2017-03-11 23:58:34 +0100
commitcd6b904e970291a63551d0f1d80bbd550e778ec8 (patch)
tree21842cccc9115462e4cd6cd23e37e8cca9e14523 /main
parent083df7e73775d8f81e380f12f6d63c2012a6b617 (diff)
downloaddino-cd6b904e970291a63551d0f1d80bbd550e778ec8.tar.gz
dino-cd6b904e970291a63551d0f1d80bbd550e778ec8.zip
CMake: merge created header+vapi files into a single directory
Diffstat (limited to 'main')
-rw-r--r--main/CMakeLists.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index cfb14eed..ce00206e 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -17,18 +17,18 @@ vala_precompile(MAIN_VALA_C
SOURCES
src/main.vala
CUSTOM_VAPIS
- ${CMAKE_BINARY_DIR}/xmpp-vala/xmpp-vala.vapi
- ${CMAKE_BINARY_DIR}/qlite/qlite.vapi
- ${CMAKE_BINARY_DIR}/libdino/dino.vapi
+ ${CMAKE_BINARY_DIR}/exports/xmpp-vala.vapi
+ ${CMAKE_BINARY_DIR}/exports/qlite.vapi
+ ${CMAKE_BINARY_DIR}/exports/dino_internal.vapi
PACKAGES
${MAIN_PACKAGES}
OPTIONS
--target-glib=2.38
- -g
+ ${GLOBAL_DEBUG_FLAGS}
--thread
)
-set(CFLAGS ${VALA_CFLAGS} ${MAIN_CFLAGS} -I${CMAKE_BINARY_DIR}/xmpp-vala -I${CMAKE_BINARY_DIR}/qlite -I${CMAKE_BINARY_DIR}/libdino)
+set(CFLAGS ${VALA_CFLAGS} ${MAIN_CFLAGS})
add_definitions(${CFLAGS})
add_executable(dino ${MAIN_VALA_C})
add_dependencies(dino dino-vapi)