mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-25 10:55:37 +00:00
Make it possible to compile all of playground in one go (but also still to compile it like before, of course).
-> CMAKE_SOURCE_DIR replaced with CMAKE_CURRENT_SOURCE_DIR. Remove module-wide config.h files, unused yet, but better remove the temptation. svn path=/trunk/playground/graphics/okular/; revision=647336
This commit is contained in:
parent
a54af96ed8
commit
06d18ea3cc
|
@ -12,8 +12,8 @@ else(NOT WIN32)
|
||||||
set(MATH_LIB)
|
set(MATH_LIB)
|
||||||
endif(NOT WIN32)
|
endif(NOT WIN32)
|
||||||
include_directories(
|
include_directories(
|
||||||
${CMAKE_SOURCE_DIR}
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
${CMAKE_SOURCE_DIR}/okular/ui/painter_agg2/
|
${CMAKE_CURRENT_SOURCE_DIR}/ui/painter_agg2/
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,25 +1,25 @@
|
||||||
add_subdirectory( kio-msits )
|
add_subdirectory( kio-msits )
|
||||||
|
|
||||||
include_directories(
|
include_directories(
|
||||||
${CMAKE_SOURCE_DIR}/okular
|
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
||||||
${CMAKE_BINARY_DIR}/okular
|
${CMAKE_BINARY_DIR}/okular
|
||||||
${CHM_INCLUDE_DIR}
|
${CHM_INCLUDE_DIR}
|
||||||
${CMAKE_SOURCE_DIR}/okular/generators/chm/lib
|
${CMAKE_CURRENT_SOURCE_DIR}/../../generators/chm/lib
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
########### next target ###############
|
########### next target ###############
|
||||||
|
|
||||||
set(chmlib_SRCS
|
set(chmlib_SRCS
|
||||||
${CMAKE_SOURCE_DIR}/okular/generators/chm/lib/iconstorage.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/../../generators/chm/lib/iconstorage.cpp
|
||||||
${CMAKE_SOURCE_DIR}/okular/generators/chm/lib/kchmtextencoding.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/../../generators/chm/lib/kchmtextencoding.cpp
|
||||||
${CMAKE_SOURCE_DIR}/okular/generators/chm/lib/kchmtreeviewitem.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/../../generators/chm/lib/kchmtreeviewitem.cpp
|
||||||
${CMAKE_SOURCE_DIR}/okular/generators/chm/lib/kchmurl.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/../../generators/chm/lib/kchmurl.cpp
|
||||||
${CMAKE_SOURCE_DIR}/okular/generators/chm/lib/xchmfile.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/../../generators/chm/lib/xchmfile.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
set(okularGenerator_chmlib_SRCS
|
set(okularGenerator_chmlib_SRCS
|
||||||
${CMAKE_SOURCE_DIR}/okular/generators/chm/generator_chm.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/../../generators/chm/generator_chm.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
set(okularGenerator_chmlib_PART_SRCS ${chmlib_SRCS} ${okularGenerator_chmlib_SRCS} )
|
set(okularGenerator_chmlib_PART_SRCS ${chmlib_SRCS} ${okularGenerator_chmlib_SRCS} )
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
include_directories(
|
include_directories(
|
||||||
${CMAKE_SOURCE_DIR}/okular
|
${CMAKE_CURRENT_SOURCE_DIR}/../../..
|
||||||
${CHM_INCLUDE_DIR}
|
${CHM_INCLUDE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
include_directories(
|
include_directories(
|
||||||
${CMAKE_SOURCE_DIR}/okular
|
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
include_directories(
|
include_directories(
|
||||||
${DJVULIBRE_INCLUDE_DIR}
|
${DJVULIBRE_INCLUDE_DIR}
|
||||||
${CMAKE_SOURCE_DIR}/okular
|
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
||||||
${CMAKE_BINARY_DIR}/okular
|
${CMAKE_BINARY_DIR}/okular
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
include_directories(
|
include_directories(
|
||||||
${CMAKE_SOURCE_DIR}/okular
|
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
||||||
${CMAKE_BINARY_DIR}/okular
|
${CMAKE_BINARY_DIR}/okular
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
include_directories(
|
include_directories(
|
||||||
${CMAKE_BINARY_DIR}/okular
|
${CMAKE_BINARY_DIR}/okular
|
||||||
${CMAKE_SOURCE_DIR}/okular
|
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
add_subdirectory( conf )
|
add_subdirectory( conf )
|
||||||
|
|
||||||
include_directories(
|
include_directories(
|
||||||
${CMAKE_SOURCE_DIR}/okular
|
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/../..
|
${CMAKE_CURRENT_BINARY_DIR}/../..
|
||||||
${CMAKE_SOURCE_DIR}/libqgs
|
${CMAKE_CURRENT_SOURCE_DIR}/../../libqgs
|
||||||
)
|
)
|
||||||
|
|
||||||
add_definitions(${KDE4_ENABLE_EXCEPTIONS})
|
add_definitions(${KDE4_ENABLE_EXCEPTIONS})
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
include_directories(
|
include_directories(
|
||||||
${CMAKE_SOURCE_DIR}/okular
|
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
include_directories(
|
include_directories(
|
||||||
${CMAKE_BINARY_DIR}/okular
|
${CMAKE_BINARY_DIR}/okular
|
||||||
${CMAKE_SOURCE_DIR}/okular
|
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
include_directories(
|
include_directories(
|
||||||
${CMAKE_BINARY_DIR}/okular
|
${CMAKE_BINARY_DIR}/okular
|
||||||
${CMAKE_SOURCE_DIR}/okular
|
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
||||||
${CMAKE_SOURCE_DIR}/okular/generators/plucker/unpluck
|
${CMAKE_CURRENT_SOURCE_DIR}/../../generators/plucker/unpluck
|
||||||
${JPEG_INCLUDE_DIR}
|
${JPEG_INCLUDE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
include_directories(
|
include_directories(
|
||||||
${POPPLER_INCLUDE_DIR}/poppler
|
${POPPLER_INCLUDE_DIR}/poppler
|
||||||
${CMAKE_BINARY_DIR}/okular
|
${CMAKE_BINARY_DIR}/okular
|
||||||
${CMAKE_SOURCE_DIR}/okular
|
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
include_directories(
|
include_directories(
|
||||||
${CMAKE_SOURCE_DIR}/okular
|
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
||||||
${TIFF_INCLUDE_DIR}
|
${TIFF_INCLUDE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
include_directories(
|
include_directories(
|
||||||
${CMAKE_SOURCE_DIR}/okular
|
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue