summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dc05f03)
raw | patch | inline | side by side (parent: dc05f03)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Mon, 31 Mar 2008 19:56:08 +0000 (19:56 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Mon, 31 Mar 2008 19:56:08 +0000 (19:56 +0000) |
CMakeLists.txt | patch | blob | history | |
CMakeScripts/ConfigCompileFlags.cmake | patch | blob | history | |
CMakeScripts/ConfigInkscapeDepends.cmake | patch | blob | history |
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5bb826bccc102e1c0d05570d987de1ef51accc10..6725846577a27d41eb88fa305247e171690316ad 100644 (file)
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
SET(CMAKE_SKIP_RPATH:BOOL OFF)\r
SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/CMakeScripts)\r
INCLUDE(ConfigCompileFlags)\r
-INCLUDE(ConfigInkscapeDepends)\r
+#INCLUDE(ConfigInkscapeDepends)\r
SET(CONFIG_H "${CMAKE_CURRENT_BINARY_DIR}/config.h")\r
INCLUDE_DIRECTORIES (src/)\r
index ed9783c4a1077cabc3e44f25eb008b41d060a2be..f82fd52bb593bb62db41fb81150be295cd1218bb 100644 (file)
SET(COMPILE_WARNING_FLAGS "-Wall -Wformat-security -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch")
SET(COMPILE_OPTIMIZATION_FLAGS "-O2")
-SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${COMPILE_WARNING_FLAGS} ${COMPILE_OPTIMIZATION_FLAGS} -DVERSION=\\\"${INKSCAPE_VERSION}\\\" ")
+SET(DEFINE_FLAGS "-DHAVE_CONFIG_H -D_INTL_REDIRECT_INLINE ")
+
+IF (WIN32)
+ SET(DEFINE_FLAGS "${DEFINE_FLAGS} -DXP_WIN")
+ELSE(WIN32)
+# SET(DEFINE_FLAGS "${DEFINE_FLAGS} ")
+ENDIF (WIN32)
+
+# for Inkboard:
+SET(DEFINE_FLAGS "${DEFINE_FLAGS} -DHAVE_SSL -DRELAYTOOL_SSL=\"static const int libssl_is_present=1; static int __attribute__((unused)) libssl_symbol_is_present(char *s){ return 1; }\" ")
+
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${COMPILE_WARNING_FLAGS} ${COMPILE_OPTIMIZATION_FLAGS} ${DEFINE_FLAGS} -DVERSION=\\\"${INKSCAPE_VERSION}\\\" ")
SET(CMAKE_MAKE_PROGRAM "${CMAKE_MAKE_PROGRAM} -j2")
index 1160b856dc571b7c42083193cbd7abafd8c07853..607ce760192284b9c3e2123af2033821f05c8926 100644 (file)
message(STATUS "")
message(STATUS "")
-SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
SET(CMAKE_MAKE_PROGRAM "${CMAKE_MAKE_PROGRAM} -j2")
INCLUDE (CheckIncludeFiles)