Commit 1e36c416 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

Clean up the CMake build system a bit

Most porting to use ecm_add_test and target_include_directories,
couple fixes of include paths and linking libraries. We try to make
sure that libs and apps don't have any other include paths other than
their own and those provided by their dependencies.

This will be useful in future if we try to split the kdepim repo.
parent 2662f583
......@@ -14,8 +14,6 @@ include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/
${CMAKE_CURRENT_SOURCE_DIR}/lib
${CMAKE_SOURCE_DIR}
${Boost_INCLUDE_DIR}
)
add_subdirectory(appicons)
......
......@@ -2,9 +2,9 @@ include_directories( ../ )
########### next target ###############
set(kalarmautostart_SRCS
autostart.cpp
kalarm_autostart_debug.cpp
set(kalarmautostart_SRCS
autostart.cpp
kalarm_autostart_debug.cpp
)
file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/../appicons/*-apps-kalarm.png")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment