summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d5c4ddf)
raw | patch | inline | side by side (parent: d5c4ddf)
author | verbalshadow <verbalshadow@users.sourceforge.net> | |
Sun, 25 May 2008 18:12:47 +0000 (18:12 +0000) | ||
committer | verbalshadow <verbalshadow@users.sourceforge.net> | |
Sun, 25 May 2008 18:12:47 +0000 (18:12 +0000) |
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 23ced336447f76424f04b71925a81703ee15840b..e3327eb2f5c74c4c1576b7b79533c4ae99e5d2ac 100644 (file)
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
CMAKE_MINIMUM_REQUIRED(VERSION 2.4.6)\r
SET(CMAKE_INCLUDE_CURRENT_DIR TRUE)\r
\r
-SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/CMakeScripts)
+LIST(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/CMakeScripts")
INCLUDE(ConfigPaths)
INCLUDE(DefineDependsandFlags)\r
INCLUDE(HelperMacros)
index 7e73a761bfdbbef7af8f6d1aaef4e11857d74199..651df5bbff44c480237d4f1190d14542a0266671 100644 (file)
ENDIF(WIN32)\r
\r
SET(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib)\r
-SET(CMAKE_SKIP_RPATH:BOOL OFF)\r
+SET(CMAKE_SKIP_RPATH:BOOL OFF)
# Include base dir, so other files can refer to the generated files.
# CMAKE_INCLUDE_CURRENT_DIR is not enough as it only includes the current dir and not the basedir with config.h in it
#INCLUDE_DIRECTORIES ("${CMAKE_BINARY_DIR}" "${PROJECT_SOURCE_DIR}" src/) \r
-LINK_DIRECTORIES ("${LINK_DIRECTORIES}" "${CMAKE_BINARY_DIR}" "${PROJECT_SOURCE_DIR}" src/)\r
+#LINK_DIRECTORIES ("${LINK_DIRECTORIES}" "${CMAKE_BINARY_DIR}" "${PROJECT_SOURCE_DIR}" src/)\r
#INSTALL(TARGETS INKSCAPE\r
# RUNTIME DESTINATION bin\r
\r
#CONFIGURE_FILE( ${CMAKE_SOURCE_DIR}/INKSCAPE.pc.in\r
# ${CMAKE_BINARY_DIR}/INKSCAPE.pc @ONLY IMMEDIATE )\r
-#INSTALL(FILES "${CMAKE_BINARY_DIR}/INKSCAPE.pc" DESTINATION lib/pkgconfig)\r
+#INSTALL(FILES "${CMAKE_BINARY_DIR}/INKSCAPE.pc" DESTINATION lib/pkgconfig)
+
+#SET(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin CACHE INTERNAL "Where to put the executables")set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib CACHE INTERNAL "Where to put the libraries")\r
index d73554a5d8d72f11a13b4af23887687edf9c5625..8a82b6214eb0aa105df718fecedb0e42f38015f0 100644 (file)
# Include dependencies:
find_package(GTK2 REQUIRED)
find_package(GtkMM REQUIRED)
-find_package(SigC++ REQUIRED)
+#find_package(SigC++ REQUIRED)
find_package(XML2 REQUIRED)
find_package(XSLT REQUIRED)
find_package(GSL REQUIRED)
INCLUDE(IncludeJava)\r
# end Dependencies
+#Linking \r
+SET(INKSCAPE_LIBS
+"${GTK2_LIBRARIES}"
+"${GTKMM_LIBRARIES}"
+#"${SIGC++_LIBRARIES}"
+"${XML2_LIBRARIES}"
+"${XSLT_LIBRARIES}"
+"${IMAGEMAGICK++_LIBRARIES}"
+"${FREETYPE2_LIBRARIES}"
+"${GNOMEVFS2_LIBRARIES}"
+"${BOOST_LIBRARIES}"
+"${BOEHMGC_LIBRARIES}"
+"${PNG_LIBRARIES}"
+"${POPT_LIBRARIES}"
+"${OPENSSL_LIBRARIES}"
+)
+
#Includes
-\r
INCLUDE_DIRECTORIES(
-"${GTK2_INCLUDE_DIRS}"
-"${GtkMM_INCLUDE_DIRS}"
-"${SigC++_INCLUDE_DIRS}"
-"${XML2_INCLUDE_DIRS}"
-"${XSLT_INCLUDE_DIRS}"
-"${ImageMagick++_INCLUDE_DIRS}"
-"${Freetype2_INCLUDE_DIRS}"
-"${GnomeVFS2_INCLUDE_DIRS}"
-"${Boost_INCLUDE_DIRS}"
-"${BoehmGC_INCLUDE_DIRS}"
-"${PNG_INCLUDE_DIRS}"
-"${Popt_INCLUDE_DIRS}"
-"${OpenSSL_INCLUDE_DIRS}"
-"${CMAKE_BINARY_DIR}"
-"${PROJECT_SOURCE_DIR}"
- src/
+${GTK2_INCLUDE_DIRS}
+${GTKMM_INCLUDE_DIRS}
+#${SIGC++_INCLUDE_DIRS}
+${XML2_INCLUDE_DIRS}
+${XSLT_INCLUDE_DIRS}
+${IMAGEMAGICK++_INCLUDE_DIRS}
+${FREETYPE2_INCLUDE_DIRS}
+${GNOMEVFS2_INCLUDE_DIRS}
+${BOOST_INCLUDE_DIRS}
+${BOEHMGC_INCLUDE_DIRS}
+${PNG_INCLUDE_DIRS}
+${POPT_INCLUDE_DIRS}
+${OPENSSL_INCLUDE_DIRS}
+${CMAKE_BINARY_DIR}
+${PROJECT_SOURCE_DIR}
+${CMAKE_BINARY_DIR}/src
)
-
#C/C++ Flags
#SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I${BOOST_INCLUDE_DIR} ")
-#Defines\r
-#SET(CMAKE_MAKE_PROGRAM "${CMAKE_MAKE_PROGRAM} -j2")
#INCLUDE(ConfigCompileFlags)\r
INCLUDE(ConfigChecks)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 6c4d475be53cf33898f5c9eb998007716778b30c..a6da5168f828a83dfd1405a9b87f1191ea5bbefd 100644 (file)
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
livarot\r
)\r
\r
-FOREACH(dirlist ${libfolders})\r
- ADD_SUBDIRECTORY(${dirlist})\r
-ENDFOREACH(dirlist)\r
+FOREACH(dirlistsrc ${libfolders})\r
+ ADD_SUBDIRECTORY(${dirlistsrc})\r
+ENDFOREACH(dirlistsrc)\r
ADD_LIBRARY(sp STATIC ${SP_SRC})\r
# make executable for INKSCAPE\r
ADD_EXECUTABLE(inkscape ${INKSCAPE_SRC})\r
TARGET_LINK_LIBRARIES(inkscape\r
- "${INKSCAPE_LINK_FLAGS}" 2geom avoid cola croco gdl nr nrtype vpsc livarot sp\r
+ "${INKSCAPE_LIBS}" 2geom avoid cola croco gdl nr nrtype vpsc livarot sp\r
)
# make executable for INKVIEW
index f8326919038b035c85560916c56d6539c6ba74b1..f8dc72afe6d0b6e613c2e514bbd500ea97e9835d 100644 (file)
nr-light.cpp
nr-plain-stuff.cpp
nr-plain-stuff-gdk.cpp
+nr-svgfonts.h
pixblock-scaler.cpp
pixblock-transform.cpp
snap-indicator.cpp