1 MESSAGE(STATUS "Creating build files in: ${CMAKE_CURRENT_BINARY_DIR}")\r
2 \r
3 IF(WIN32)\r
4 SET(PACKAGE_LOCALE_DIR "locale")\r
5 ELSEIF(WIN32)\r
6 # TODO: check and change this to correct value:\r
7 SET(PACKAGE_LOCALE_DIR "locale")\r
8 ENDIF(WIN32)\r
9 \r
10 SET(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib)\r
11 SET(CMAKE_SKIP_RPATH:BOOL OFF)
13 # Include base dir, so other files can refer to the generated files.
14 # CMAKE_INCLUDE_CURRENT_DIR is not enough as it only includes the current dir and not the basedir with config.h in it
15 #INCLUDE_DIRECTORIES ("${CMAKE_BINARY_DIR}" "${PROJECT_SOURCE_DIR}" src/) \r
16 #LINK_DIRECTORIES ("${LINK_DIRECTORIES}" "${CMAKE_BINARY_DIR}" "${PROJECT_SOURCE_DIR}" src/)\r
18 #INSTALL(TARGETS INKSCAPE\r
19 # RUNTIME DESTINATION bin\r
20 # LIBRARY DESTINATION lib\r
21 # ARCHIVE DESTINATION lib\r
22 #)\r
23 \r
24 #FILE(GLOB files "${CMAKE_CURRENT_SOURCE_DIR}/*.h")\r
25 #INSTALL(FILES ${files} DESTINATION include/INKSCAPE/INKSCAPE)\r
26 \r
27 #CONFIGURE_FILE( ${CMAKE_SOURCE_DIR}/INKSCAPE.pc.in\r
28 # ${CMAKE_BINARY_DIR}/INKSCAPE.pc @ONLY IMMEDIATE )\r
29 #INSTALL(FILES "${CMAKE_BINARY_DIR}/INKSCAPE.pc" DESTINATION lib/pkgconfig)
31 #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