logo       

playground/edu/Rocs: msg#12881

kde-commits

Subject: playground/edu/Rocs

SVN commit 1005174 by tcanabrava:

changes on the CMakefiles, added a findGraphViz.cmake for compilation with
graphviz.

M +10 -4 CMakeLists.txt
A cmake (directory)
A cmake/modules (directory)
A cmake/modules/FindGraphViz.cmake
M +3 -1 src/CMakeLists.txt


--- trunk/playground/edu/Rocs/CMakeLists.txt #1005173:1005174
@@ -2,15 +2,21 @@

#paranoid?
cmake_minimum_required(VERSION 2.6.0)
-
set(KDE_MIN_VERSION "4.00.82")
+set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
+ ${CMAKE_SOURCE_DIR}/cmake/modules
+)

+
+
#atm this gets is FindQt4 and FindX11 (provided that the default cmake FindQt4
doesn't get used)
find_package(KDE4 REQUIRED)
-find_package(KdepimLibs REQUIRED)
+find_package(GraphViz REQUIRED)
+
+
include(KDE4Defaults)
-include(MacroLibrary)
-include(CheckIncludeFile)
+#include(MacroLibrary)
+#include(CheckIncludeFile)

add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})

--- trunk/playground/edu/Rocs/src/CMakeLists.txt #1005173:1005174
@@ -1,5 +1,7 @@
-include_directories( ${KDE4_INCLUDES} ${QT_INCLUDES} Interface)
+include_directories( ${KDE4_INCLUDES} ${QT_INCLUDES} )

+find_package(GraphViz REQUIRED)
+
add_subdirectory(Core)
add_subdirectory(Actions)
add_subdirectory(Models)

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise