mirror of
https://bitbucket.org/smil3y/kde-playground.git
synced 2025-02-24 19:02:51 +00:00
35 lines
877 B
CMake
35 lines
877 B
CMake
add_definitions(
|
|
-DKRESOURCES_DEPRECATED=
|
|
)
|
|
# This one won't be needed when CMake 2.8.13 is depended on.
|
|
add_definitions(
|
|
-DKRESOURCES_DEPRECATED_EXPORT=KRESOURCES_EXPORT
|
|
)
|
|
|
|
include_directories(
|
|
${CMAKE_SOURCE_DIR}/kresources
|
|
${CMAKE_BINARY_DIR}/kresources
|
|
)
|
|
|
|
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
########### next target ###############
|
|
|
|
set(testresources_SRCS testresources.cpp)
|
|
|
|
kde4_add_unit_test(testresources TESTNAME kresources-testresources ${testresources_SRCS})
|
|
|
|
target_link_libraries(testresources ${KDE4_KDECORE_LIBS} ${KDE4_KDEUI_LIBS} kresources)
|
|
|
|
########### next target ###############
|
|
|
|
set(idmappertest_SRCS idmappertest.cpp)
|
|
|
|
kde4_add_unit_test(idmappertest TESTNAME kresources-idmappertest ${idmappertest_SRCS})
|
|
|
|
target_link_libraries(idmappertest
|
|
${KDE4_KDECORE_LIBS}
|
|
${QT_QTTEST_LIBRARY}
|
|
${QT_QTGUI_LIBRARY}
|
|
kresources
|
|
)
|