CMakeLists.txt revision e661c64a3dee1421ca5f20d596766d6e5ea5816b
961N/A# - Add configurable options for Python/Perl/Whiteboard, see configure --help
961N/Aoption(WITH_PROFILING "Turn on profiling" OFF) # Set to true if compiler/linker should enable profiling
961N/Aadd_definitions(-DHAVE_CAIRO_PDF=1) # needed for src/libnrtype/Layout-TNG.h
961N/Aadd_custom_target(dist svn export --force -q "${CMAKE_SOURCE_DIR}" "${CMAKE_BINARY_DIR}/${INKSCAPE_DIST_PREFIX}"
961N/A COMMAND tar -czf "${CMAKE_BINARY_DIR}/${INKSCAPE_DIST_PREFIX}.tar.gz" -C "${CMAKE_BINARY_DIR}" --exclude=".hidden" ${INKSCAPE_DIST_PREFIX}
961N/A "${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in"
961N/A "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
1878N/A "${CMAKE_CURRENT_SOURCE_DIR}/inkscape.desktop.in"
961N/A "${CMAKE_BINARY_DIR}/inkscape.desktop"
961N/A "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
961N/A COMMAND ${CMAKE_COMMAND} -E echo 'now run: \"make install\" to copy runtime files & scripts to ${CMAKE_INSTALL_PREFIX}'
961N/A FILES ${CMAKE_BINARY_DIR}/inkscape.desktop
961N/A DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications
961N/A ${CMAKE_SOURCE_DIR}/share/clipart
961N/A ${CMAKE_SOURCE_DIR}/share/examples
961N/A ${CMAKE_SOURCE_DIR}/share/extensions
961N/A ${CMAKE_SOURCE_DIR}/share/filters
961N/A ${CMAKE_SOURCE_DIR}/share/fonts
961N/A ${CMAKE_SOURCE_DIR}/share/gradients
961N/A ${CMAKE_SOURCE_DIR}/share/icons
961N/A ${CMAKE_SOURCE_DIR}/share/keys
961N/A ${CMAKE_SOURCE_DIR}/share/markers
961N/A ${CMAKE_SOURCE_DIR}/share/palettes
961N/A ${CMAKE_SOURCE_DIR}/share/patterns
961N/A ${CMAKE_SOURCE_DIR}/share/screens
961N/A ${CMAKE_SOURCE_DIR}/share/templates
961N/A ${CMAKE_SOURCE_DIR}/share/tutorials
961N/A DESTINATION ${CMAKE_INSTALL_PREFIX}/share/inkscape
961N/A # TODO, WIN32/APPLE