diff options
| author | Joshua L. Blocher <verbalshadow@gmail.com> | 2008-05-02 06:03:19 +0000 |
|---|---|---|
| committer | verbalshadow <verbalshadow@users.sourceforge.net> | 2008-05-02 06:03:19 +0000 |
| commit | 9b205f84593821a8cf4ebb7f0d4f6306bbe1d084 (patch) | |
| tree | 2b63e99a33597cc4c8d0287a5d9097d3fbd9ce1a /CMakeScripts/ConfigPaths.cmake | |
| parent | Removed Submenu name "Object" from randompnt.inx and randompos.inx to stop bo... (diff) | |
| download | inkscape-9b205f84593821a8cf4ebb7f0d4f6306bbe1d084.tar.gz inkscape-9b205f84593821a8cf4ebb7f0d4f6306bbe1d084.zip | |
Cmake: More cleanup moved all known paths into ConfigPaths.cmake and temp Linking checking to help resolve linking issues
(bzr r5576)
Diffstat (limited to 'CMakeScripts/ConfigPaths.cmake')
| -rw-r--r-- | CMakeScripts/ConfigPaths.cmake | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/CMakeScripts/ConfigPaths.cmake b/CMakeScripts/ConfigPaths.cmake new file mode 100644 index 000000000..ec3985e3f --- /dev/null +++ b/CMakeScripts/ConfigPaths.cmake @@ -0,0 +1,29 @@ +MESSAGE(STATUS "Creating build files in: ${CMAKE_CURRENT_BINARY_DIR}")
+
+IF(WIN32)
+ SET(PACKAGE_LOCALE_DIR "locale")
+ELSEIF(WIN32)
+ # TODO: check and change this to correct value:
+ SET(PACKAGE_LOCALE_DIR "locale")
+ENDIF(WIN32)
+
+SET(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib)
+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/)
+LINK_DIRECTORIES ("${CMAKE_BINARY_DIR}" "${PROJECT_SOURCE_DIR}" src/)
+ +#INSTALL(TARGETS INKSCAPE
+# RUNTIME DESTINATION bin
+# LIBRARY DESTINATION lib
+# ARCHIVE DESTINATION lib
+#)
+
+#FILE(GLOB files "${CMAKE_CURRENT_SOURCE_DIR}/*.h")
+#INSTALL(FILES ${files} DESTINATION include/INKSCAPE/INKSCAPE)
+
+#CONFIGURE_FILE( ${CMAKE_SOURCE_DIR}/INKSCAPE.pc.in
+# ${CMAKE_BINARY_DIR}/INKSCAPE.pc @ONLY IMMEDIATE )
+#INSTALL(FILES "${CMAKE_BINARY_DIR}/INKSCAPE.pc" DESTINATION lib/pkgconfig)
|
