160N/A# -----------------------------------------------------------------------------
160N/A# Define the main source
160N/A# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# a custom target that is always built
-DINKSCAPE_SOURCE_DIR=${CMAKE_SOURCE_DIR}
-DINKSCAPE_BINARY_DIR=${CMAKE_BINARY_DIR}
set_source_files_properties(
PROPERTIES GENERATED TRUE)
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# All folders for internal inkscape
# these call add_inkscape_source
add_subdirectory(dialogs)
add_subdirectory(display)
add_subdirectory(extension)
add_subdirectory(filters)
add_subdirectory(live_effects)
add_subdirectory(widgets)
# Directories containing lists files that describe building internal libraries
add_subdirectory(libavoid)
add_subdirectory(libcola)
add_subdirectory(libcroco)
add_subdirectory(libvpsc)
add_subdirectory(livarot)
add_subdirectory(libnrtype)
get_property(inkscape_global_SRC GLOBAL PROPERTY inkscape_global_SRC)
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
add_inkscape_lib(sp_LIB "${sp_SRC}")
add_inkscape_lib(inkscape_LIB "${inkscape_SRC}")
# make executable for INKSCAPE
add_executable(inkscape ${main_SRC})
add_dependencies(inkscape inkscape_version)
target_link_libraries(inkscape
sp_LIB # annoying, we need both!
nrtype_LIB # annoying, we need both!
# make executable for INKVIEW