Code

Temporarily add shortcuts in pen context to activate some LPEs which need path input...
[inkscape.git] / CMakeLists.txt
index 608ac6a9c7976cccbcef029b09544da0cc8a196b..e3327eb2f5c74c4c1576b7b79533c4ae99e5d2ac 100644 (file)
@@ -1,28 +1,16 @@
-PROJECT(inkscape CXX C)\r
+PROJECT(inkscape)\r
 \r
 SET(INKSCAPE_VERSION 0.46+devel)\r
 SET(PROJECT_NAME inkscape)\r
-SET(CMAKE_BACKWARDS_COMPATIBILITY 2.4)\r
+CMAKE_MINIMUM_REQUIRED(VERSION 2.4.6)\r
 SET(CMAKE_INCLUDE_CURRENT_DIR TRUE)\r
 \r
-# Set to true if compiler/linker should enable profiling:\r
-#SET(ENABLE_PROFILING TRUE)\r
-\r
-#Pretty colors\r
-SET(CMAKE_COLOR_MAKEFILE ON)\r
-#Choose verbosity level\r
-SET(CMAKE_VERBOSE_MAKEFILE OFF)\r
-
-SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/CMakeScripts)
+LIST(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/CMakeScripts")
 INCLUDE(ConfigPaths)
-INCLUDE(ConfigInkscapeDepends)\r
+INCLUDE(DefineDependsandFlags)\r
 INCLUDE(HelperMacros)
-\r
-#SET(CMAKE_MAJOR_MINOR "${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}")\r
-#IF("${CMAKE_MAJOR_MINOR}" STREQUAL "2.2")\r
-#    SET(CMAKE_AR "ar")\r
-#    SET(CMAKE_RANLIB "ranlib")\r
-#ENDIF("${CMAKE_MAJOR_MINOR}" STREQUAL "2.2")\r
+\r# Set to true if compiler/linker should enable profiling:\r
+#SET(ENABLE_PROFILING TRUE)\r
 \r
 #make dist target\r
 SET(INKSCAPE_DIST_PREFIX "${PROJECT_NAME}-${INKSCAPE_VERSION}")\r