--- /dev/null
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.12
+
+# Relative path conversion top directories.
+set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/alan/gitlive/roojspacker")
+set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/alan/gitlive/roojspacker")
+
+# Force unix paths in dependencies.
+set(CMAKE_FORCE_UNIX_PATHS 1)
+
+
+# The C and CXX include file regular expressions for this directory.
+set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
+set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
+set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
+set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
--- /dev/null
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+ )
+# The set of files for implicit dependencies of each language:
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+ )
+
+# Fortran module output directory.
+set(CMAKE_Fortran_TARGET_MODULE_DIR "")
--- /dev/null
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.12
+
+# Delete rule output on recipe failure.
+.DELETE_ON_ERROR:
+
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+
+# A target that is always out of date.
+cmake_force:
+
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/alan/gitlive/roojspacker
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/alan/gitlive/roojspacker
+
+# Utility rule file for roojspacker-vala-fast-vapis.
+
+# Include the progress variables for this target.
+include bin/CMakeFiles/roojspacker-vala-fast-vapis.dir/progress.make
+
+bin/CMakeFiles/roojspacker-vala-fast-vapis: bin/roojspacker-vala/fast-vapis.stamp
+
+
+bin/roojspacker-vala/fast-vapis.stamp: bin/roojspacker-vala/build/bin/main.vapi.stamp
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/home/alan/gitlive/roojspacker/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Generating fast VAPIs for roojspacker-vala"
+ cd /home/alan/gitlive/roojspacker/bin && /usr/bin/cmake -E touch /home/alan/gitlive/roojspacker/bin/roojspacker-vala/fast-vapis.stamp
+
+bin/roojspacker-vala/build/bin/main.vapi.stamp: bin/main.vala
+bin/roojspacker-vala/build/bin/main.vapi.stamp: my-project/my-project-.vapi
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/home/alan/gitlive/roojspacker/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Generating fast VAPI /home/alan/gitlive/roojspacker/bin/roojspacker-vala/build/bin/main.vapi"
+ cd /home/alan/gitlive/roojspacker/bin && /usr/bin/valac /home/alan/gitlive/roojspacker/bin/main.vala --fast-vapi /home/alan/gitlive/roojspacker/bin/roojspacker-vala/build/bin/main.vapi /home/alan/gitlive/roojspacker/my-project/my-project-.vapi --target-glib=2.38 -g -X\ -shared -X\ -lm --thread --vapidir=/home/alan/gitlive/roojspacker/vapi
+ cd /home/alan/gitlive/roojspacker/bin && /usr/bin/cmake -E touch /home/alan/gitlive/roojspacker/bin/roojspacker-vala/build/bin/main.vapi.stamp
+
+roojspacker-vala-fast-vapis: bin/CMakeFiles/roojspacker-vala-fast-vapis
+roojspacker-vala-fast-vapis: bin/roojspacker-vala/fast-vapis.stamp
+roojspacker-vala-fast-vapis: bin/roojspacker-vala/build/bin/main.vapi.stamp
+roojspacker-vala-fast-vapis: bin/CMakeFiles/roojspacker-vala-fast-vapis.dir/build.make
+
+.PHONY : roojspacker-vala-fast-vapis
+
+# Rule to build all files generated by this target.
+bin/CMakeFiles/roojspacker-vala-fast-vapis.dir/build: roojspacker-vala-fast-vapis
+
+.PHONY : bin/CMakeFiles/roojspacker-vala-fast-vapis.dir/build
+
+bin/CMakeFiles/roojspacker-vala-fast-vapis.dir/clean:
+ cd /home/alan/gitlive/roojspacker/bin && $(CMAKE_COMMAND) -P CMakeFiles/roojspacker-vala-fast-vapis.dir/cmake_clean.cmake
+.PHONY : bin/CMakeFiles/roojspacker-vala-fast-vapis.dir/clean
+
+bin/CMakeFiles/roojspacker-vala-fast-vapis.dir/depend:
+ cd /home/alan/gitlive/roojspacker && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/alan/gitlive/roojspacker /home/alan/gitlive/roojspacker/bin /home/alan/gitlive/roojspacker /home/alan/gitlive/roojspacker/bin /home/alan/gitlive/roojspacker/bin/CMakeFiles/roojspacker-vala-fast-vapis.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : bin/CMakeFiles/roojspacker-vala-fast-vapis.dir/depend
+
--- /dev/null
+file(REMOVE_RECURSE
+ "CMakeFiles/roojspacker-vala-fast-vapis"
+ "roojspacker-vala/fast-vapis.stamp"
+ "roojspacker-vala/build/bin/main.vapi.stamp"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang )
+ include(CMakeFiles/roojspacker-vala-fast-vapis.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
--- /dev/null
+CMAKE_PROGRESS_1 = 69
+CMAKE_PROGRESS_2 = 70
+
--- /dev/null
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+ )
+# The set of files for implicit dependencies of each language:
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+ )
+
+# Fortran module output directory.
+set(CMAKE_Fortran_TARGET_MODULE_DIR "")
--- /dev/null
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.12
+
+# Delete rule output on recipe failure.
+.DELETE_ON_ERROR:
+
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+
+# A target that is always out of date.
+cmake_force:
+
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/alan/gitlive/roojspacker
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/alan/gitlive/roojspacker
+
+# Utility rule file for roojspacker-vala.
+
+# Include the progress variables for this target.
+include bin/CMakeFiles/roojspacker-vala.dir/progress.make
+
+bin/CMakeFiles/roojspacker-vala: bin/roojspacker-vala/stamp
+bin/CMakeFiles/roojspacker-vala: bin/roojspacker-vala/build/bin/main.c.stamp
+
+
+bin/roojspacker-vala/stamp: bin/roojspacker-vala/build/bin/main.c.stamp
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/home/alan/gitlive/roojspacker/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Generating sources from Vala for roojspacker-vala"
+ cd /home/alan/gitlive/roojspacker/bin && /usr/bin/cmake -E touch /home/alan/gitlive/roojspacker/bin/roojspacker-vala/stamp
+
+bin/roojspacker-vala/build/bin/main.c.stamp: bin/main.vala
+bin/roojspacker-vala/build/bin/main.c.stamp: my-project/my-project-.vapi
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/home/alan/gitlive/roojspacker/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Generating /home/alan/gitlive/roojspacker/bin/roojspacker-vala/build/bin/main.c"
+ cd /home/alan/gitlive/roojspacker/bin && /usr/bin/valac -d /home/alan/gitlive/roojspacker/bin/roojspacker-vala/build/bin -C /home/alan/gitlive/roojspacker/bin/main.vala /home/alan/gitlive/roojspacker/my-project/my-project-.vapi --target-glib=2.38 -g -X\ -shared -X\ -lm --thread --vapidir=/home/alan/gitlive/roojspacker/vapi
+ cd /home/alan/gitlive/roojspacker/bin && /usr/bin/cmake -E touch /home/alan/gitlive/roojspacker/bin/roojspacker-vala/build/bin/main.c.stamp
+
+roojspacker-vala: bin/CMakeFiles/roojspacker-vala
+roojspacker-vala: bin/roojspacker-vala/stamp
+roojspacker-vala: bin/roojspacker-vala/build/bin/main.c.stamp
+roojspacker-vala: bin/CMakeFiles/roojspacker-vala.dir/build.make
+
+.PHONY : roojspacker-vala
+
+# Rule to build all files generated by this target.
+bin/CMakeFiles/roojspacker-vala.dir/build: roojspacker-vala
+
+.PHONY : bin/CMakeFiles/roojspacker-vala.dir/build
+
+bin/CMakeFiles/roojspacker-vala.dir/clean:
+ cd /home/alan/gitlive/roojspacker/bin && $(CMAKE_COMMAND) -P CMakeFiles/roojspacker-vala.dir/cmake_clean.cmake
+.PHONY : bin/CMakeFiles/roojspacker-vala.dir/clean
+
+bin/CMakeFiles/roojspacker-vala.dir/depend:
+ cd /home/alan/gitlive/roojspacker && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/alan/gitlive/roojspacker /home/alan/gitlive/roojspacker/bin /home/alan/gitlive/roojspacker /home/alan/gitlive/roojspacker/bin /home/alan/gitlive/roojspacker/bin/CMakeFiles/roojspacker-vala.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : bin/CMakeFiles/roojspacker-vala.dir/depend
+
--- /dev/null
+file(REMOVE_RECURSE
+ "CMakeFiles/roojspacker-vala"
+ "roojspacker-vala/stamp"
+ "roojspacker-vala/build/bin/main.c.stamp"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang )
+ include(CMakeFiles/roojspacker-vala.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
--- /dev/null
+CMAKE_PROGRESS_1 = 67
+CMAKE_PROGRESS_2 = 68
+
--- /dev/null
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+ "C"
+ )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_C
+ "/home/alan/gitlive/roojspacker/bin/roojspacker-vala/build/bin/main.c" "/home/alan/gitlive/roojspacker/bin/CMakeFiles/roojspacker.dir/roojspacker-vala/build/bin/main.c.o"
+ )
+set(CMAKE_C_COMPILER_ID "GNU")
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+ "my-project"
+ )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+ "/home/alan/gitlive/roojspacker/jsdoc/CMakeFiles/roojspacker-1.2.dir/DependInfo.cmake"
+ )
+
+# Fortran module output directory.
+set(CMAKE_Fortran_TARGET_MODULE_DIR "")
--- /dev/null
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.12
+
+# Delete rule output on recipe failure.
+.DELETE_ON_ERROR:
+
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+
+# A target that is always out of date.
+cmake_force:
+
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/alan/gitlive/roojspacker
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/alan/gitlive/roojspacker
+
+# Include any dependencies generated for this target.
+include bin/CMakeFiles/roojspacker.dir/depend.make
+
+# Include the progress variables for this target.
+include bin/CMakeFiles/roojspacker.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include bin/CMakeFiles/roojspacker.dir/flags.make
+
+bin/CMakeFiles/roojspacker.dir/roojspacker-vala/build/bin/main.c.o: bin/CMakeFiles/roojspacker.dir/flags.make
+bin/CMakeFiles/roojspacker.dir/roojspacker-vala/build/bin/main.c.o: bin/roojspacker-vala/build/bin/main.c
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/alan/gitlive/roojspacker/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building C object bin/CMakeFiles/roojspacker.dir/roojspacker-vala/build/bin/main.c.o"
+ cd /home/alan/gitlive/roojspacker/bin && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/roojspacker.dir/roojspacker-vala/build/bin/main.c.o -c /home/alan/gitlive/roojspacker/bin/roojspacker-vala/build/bin/main.c
+
+bin/CMakeFiles/roojspacker.dir/roojspacker-vala/build/bin/main.c.i: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/roojspacker.dir/roojspacker-vala/build/bin/main.c.i"
+ cd /home/alan/gitlive/roojspacker/bin && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/alan/gitlive/roojspacker/bin/roojspacker-vala/build/bin/main.c > CMakeFiles/roojspacker.dir/roojspacker-vala/build/bin/main.c.i
+
+bin/CMakeFiles/roojspacker.dir/roojspacker-vala/build/bin/main.c.s: cmake_force
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/roojspacker.dir/roojspacker-vala/build/bin/main.c.s"
+ cd /home/alan/gitlive/roojspacker/bin && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/alan/gitlive/roojspacker/bin/roojspacker-vala/build/bin/main.c -o CMakeFiles/roojspacker.dir/roojspacker-vala/build/bin/main.c.s
+
+# Object files for target roojspacker
+roojspacker_OBJECTS = \
+"CMakeFiles/roojspacker.dir/roojspacker-vala/build/bin/main.c.o"
+
+# External object files for target roojspacker
+roojspacker_EXTERNAL_OBJECTS =
+
+bin/roojspacker: bin/CMakeFiles/roojspacker.dir/roojspacker-vala/build/bin/main.c.o
+bin/roojspacker: bin/CMakeFiles/roojspacker.dir/build.make
+bin/roojspacker: jsdoc/libroojspacker-1.2.so..
+bin/roojspacker: /usr/lib/x86_64-linux-gnu/libgobject-2.0.so
+bin/roojspacker: /usr/lib/x86_64-linux-gnu/libglib-2.0.so
+bin/roojspacker: /usr/lib/x86_64-linux-gnu/libgio-2.0.so
+bin/roojspacker: bin/CMakeFiles/roojspacker.dir/link.txt
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/alan/gitlive/roojspacker/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking C executable roojspacker"
+ cd /home/alan/gitlive/roojspacker/bin && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/roojspacker.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+bin/CMakeFiles/roojspacker.dir/build: bin/roojspacker
+
+.PHONY : bin/CMakeFiles/roojspacker.dir/build
+
+bin/CMakeFiles/roojspacker.dir/clean:
+ cd /home/alan/gitlive/roojspacker/bin && $(CMAKE_COMMAND) -P CMakeFiles/roojspacker.dir/cmake_clean.cmake
+.PHONY : bin/CMakeFiles/roojspacker.dir/clean
+
+bin/CMakeFiles/roojspacker.dir/depend:
+ cd /home/alan/gitlive/roojspacker && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/alan/gitlive/roojspacker /home/alan/gitlive/roojspacker/bin /home/alan/gitlive/roojspacker /home/alan/gitlive/roojspacker/bin /home/alan/gitlive/roojspacker/bin/CMakeFiles/roojspacker.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : bin/CMakeFiles/roojspacker.dir/depend
+
--- /dev/null
+file(REMOVE_RECURSE
+ "CMakeFiles/roojspacker.dir/roojspacker-vala/build/bin/main.c.o"
+ "roojspacker.pdb"
+ "roojspacker"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang C)
+ include(CMakeFiles/roojspacker.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
--- /dev/null
+# Empty dependencies file for roojspacker.
+# This may be replaced when dependencies are built.
--- /dev/null
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.12
+
+# compile C with /usr/bin/cc
+C_FLAGS = -Wno-incompatible-pointer-types -g -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread
+
+C_DEFINES =
+
+C_INCLUDES = -I/home/alan/gitlive/roojspacker/my-project
+
--- /dev/null
+/usr/bin/cc -Wno-incompatible-pointer-types -g -rdynamic CMakeFiles/roojspacker.dir/roojspacker-vala/build/bin/main.c.o -o roojspacker -Wl,-rpath,/home/alan/gitlive/roojspacker/jsdoc: -lgee-0.8 -lgthread-2.0 -ljson-glib-1.0 ../jsdoc/libroojspacker-1.2.so.. /usr/lib/x86_64-linux-gnu/libgobject-2.0.so /usr/lib/x86_64-linux-gnu/libglib-2.0.so /usr/lib/x86_64-linux-gnu/libgio-2.0.so -lgee-0.8 -lgthread-2.0 -ljson-glib-1.0
--- /dev/null
+CMAKE_PROGRESS_1 = 1
+CMAKE_PROGRESS_2 = 2
+
#
#
# Main target
-
-# Compile Vala sources to C
+set(ROOJSPACKER_MAIN_SOURCES
+ main.vala
+)
-vala_precompile(ROOJSPACKER_MAIN_SOURCES
- main.vala
-PACKAGES
- gio-2.0
- gee-0.8
- glib-2.0
- gobject-2.0
- json-glib-1.0
- roojspacker-1.2
-OPTIONS
- --thread
- --debug
- --vapidir=${CMAKE_SOURCE_DIR}/vapi
- --vapidir=${CMAKE_SOURCE_DIR}/src
- -g
- -X -shared -X -lm
- --target-glib=2.32
+# Compile Vala sources to C
+vala_precompile_target(
+ "${PROJECT_NAME}-vala"
+ ROOJSPACKER_MAIN_SOURCES
+ ${CMAKE_BINARY_DIR}/my-project/my-project-${ROOJSPACKER_VERSION_API}.vapi
+ main.vala
+ DEPENDS "${ROOJSPACKER_LIBRARY_NAME}-vala")
-)
# Tell CMake to create an executable named "my-project"
-add_executable(roojspacker
+add_executable(${PROJECT_NAME}
${ROOJSPACKER_MAIN_SOURCES})
-
+# Make sure the Vala sources are compiled to C before attempting to
+# build the executable.
+add_dependencies("${PROJECT_NAME}" "${PROJECT_NAME}-vala")
+
# We need to add the directory where the C header for our library is
# installed, otherwise we'll get an error from the C compiler.
-set_target_properties(roojspacker PROPERTIES
- INCLUDE_DIRECTORIES ${CMAKE_BINARY_DIR}/src)
+set_target_properties(${PROJECT_NAME} PROPERTIES
+ INCLUDE_DIRECTORIES ${CMAKE_BINARY_DIR}/my-project)
# Any libraries that your tests need to link to should go here.
# Usually this will just be your library.
-target_link_libraries(roojspacker roojspacker-1.2)
+target_link_libraries(${PROJECT_NAME}
+ ${ROOJSPACKER_LIBRARY_NAME})
# Install the executable.
-install (TARGETS roojspacker
- RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
-
-
\ No newline at end of file
+install (TARGETS ${PROJECT_NAME}
+ RUNTIME DESTINATION bin ${CMAKE_INSTALL_BINDIR})
+
+# Generate a .gitignore
+file(WRITE ".gitignore" "# Automatically generated by CMake, do not modify.\n")
+foreach(file
+ ".gitignore"
+ "my-project${CMAKE_EXECUTABLE_SUFFIX}")
+ file(APPEND ".gitignore" "/${file}\n")
+endforeach(file)
+foreach(file ${ROOJSPACKER_MAIN_SOURCES})
+ string(REPLACE "${CMAKE_CURRENT_BINARY_DIR}/" "" file ${file})
+ file(APPEND ".gitignore" "/${file}\n")
+endforeach(file)
\ No newline at end of file
--- /dev/null
+# Install script for directory: /home/alan/gitlive/roojspacker/bin
+
+# Set the install prefix
+if(NOT DEFINED CMAKE_INSTALL_PREFIX)
+ set(CMAKE_INSTALL_PREFIX "/usr/local")
+endif()
+string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
+
+# Set the install configuration name.
+if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
+ if(BUILD_TYPE)
+ string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
+ CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
+ else()
+ set(CMAKE_INSTALL_CONFIG_NAME "Debug")
+ endif()
+ message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
+endif()
+
+# Set the component getting installed.
+if(NOT CMAKE_INSTALL_COMPONENT)
+ if(COMPONENT)
+ message(STATUS "Install component: \"${COMPONENT}\"")
+ set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
+ else()
+ set(CMAKE_INSTALL_COMPONENT)
+ endif()
+endif()
+
+# Install shared libraries without execute permission?
+if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
+ set(CMAKE_INSTALL_SO_NO_EXE "1")
+endif()
+
+# Is this installation the result of a crosscompile?
+if(NOT DEFINED CMAKE_CROSSCOMPILING)
+ set(CMAKE_CROSSCOMPILING "FALSE")
+endif()
+
+if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
+ if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/roojspacker" AND
+ NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/roojspacker")
+ file(RPATH_CHECK
+ FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/roojspacker"
+ RPATH "")
+ endif()
+ file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/alan/gitlive/roojspacker/bin/roojspacker")
+ if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/roojspacker" AND
+ NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/roojspacker")
+ file(RPATH_CHANGE
+ FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/roojspacker"
+ OLD_RPATH "/home/alan/gitlive/roojspacker/jsdoc:"
+ NEW_RPATH "")
+ if(CMAKE_INSTALL_DO_STRIP)
+ execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/roojspacker")
+ endif()
+ endif()
+endif()
+
--- /dev/null
+# Install script for directory: /home/alan/gitlive/roojspacker
+
+# Set the install prefix
+if(NOT DEFINED CMAKE_INSTALL_PREFIX)
+ set(CMAKE_INSTALL_PREFIX "/usr/local")
+endif()
+string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
+
+# Set the install configuration name.
+if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
+ if(BUILD_TYPE)
+ string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
+ CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
+ else()
+ set(CMAKE_INSTALL_CONFIG_NAME "Debug")
+ endif()
+ message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
+endif()
+
+# Set the component getting installed.
+if(NOT CMAKE_INSTALL_COMPONENT)
+ if(COMPONENT)
+ message(STATUS "Install component: \"${COMPONENT}\"")
+ set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
+ else()
+ set(CMAKE_INSTALL_COMPONENT)
+ endif()
+endif()
+
+# Install shared libraries without execute permission?
+if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
+ set(CMAKE_INSTALL_SO_NO_EXE "1")
+endif()
+
+# Is this installation the result of a crosscompile?
+if(NOT DEFINED CMAKE_CROSSCOMPILING)
+ set(CMAKE_CROSSCOMPILING "FALSE")
+endif()
+
+if(NOT CMAKE_INSTALL_LOCAL_ONLY)
+ # Include the install script for each subdirectory.
+ include("/home/alan/gitlive/roojspacker/jsdoc/cmake_install.cmake")
+ include("/home/alan/gitlive/roojspacker/bin/cmake_install.cmake")
+
+endif()
+
+if(CMAKE_INSTALL_COMPONENT)
+ set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
+else()
+ set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
+endif()
+
+string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
+ "${CMAKE_INSTALL_MANIFEST_FILES}")
+file(WRITE "/home/alan/gitlive/roojspacker/${CMAKE_INSTALL_MANIFEST}"
+ "${CMAKE_INSTALL_MANIFEST_CONTENT}")
--- /dev/null
+# Install script for directory: /home/alan/gitlive/roojspacker/jsdoc
+
+# Set the install prefix
+if(NOT DEFINED CMAKE_INSTALL_PREFIX)
+ set(CMAKE_INSTALL_PREFIX "/usr/local")
+endif()
+string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
+
+# Set the install configuration name.
+if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
+ if(BUILD_TYPE)
+ string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
+ CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
+ else()
+ set(CMAKE_INSTALL_CONFIG_NAME "Debug")
+ endif()
+ message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
+endif()
+
+# Set the component getting installed.
+if(NOT CMAKE_INSTALL_COMPONENT)
+ if(COMPONENT)
+ message(STATUS "Install component: \"${COMPONENT}\"")
+ set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
+ else()
+ set(CMAKE_INSTALL_COMPONENT)
+ endif()
+endif()
+
+# Install shared libraries without execute permission?
+if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
+ set(CMAKE_INSTALL_SO_NO_EXE "1")
+endif()
+
+# Is this installation the result of a crosscompile?
+if(NOT DEFINED CMAKE_CROSSCOMPILING)
+ set(CMAKE_CROSSCOMPILING "FALSE")
+endif()
+
+if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
+ list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES
+ "/girepository-1.0/.typelib")
+ if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION)
+ message(WARNING "ABSOLUTE path INSTALL DESTINATION : ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
+ endif()
+ if(CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION)
+ message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
+ endif()
+file(INSTALL DESTINATION "/girepository-1.0" TYPE FILE FILES "/home/alan/gitlive/roojspacker/jsdoc/.typelib")
+endif()
+
+if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
+ list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES
+ "/usr/local/share/gir-1.0/.gir")
+ if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION)
+ message(WARNING "ABSOLUTE path INSTALL DESTINATION : ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
+ endif()
+ if(CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION)
+ message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
+ endif()
+file(INSTALL DESTINATION "/usr/local/share/gir-1.0" TYPE FILE FILES "/home/alan/gitlive/roojspacker/jsdoc/.gir")
+endif()
+
+if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
+ list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES
+ "/vala/vapi/.vapi")
+ if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION)
+ message(WARNING "ABSOLUTE path INSTALL DESTINATION : ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
+ endif()
+ if(CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION)
+ message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
+ endif()
+file(INSTALL DESTINATION "/vala/vapi" TYPE FILE FILES "/home/alan/gitlive/roojspacker/jsdoc/.vapi")
+endif()
+
+if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
+ foreach(file
+ "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libroojspacker-1.2.so.."
+ "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libroojspacker-1.2.so..."
+ )
+ if(EXISTS "${file}" AND
+ NOT IS_SYMLINK "${file}")
+ file(RPATH_CHECK
+ FILE "${file}"
+ RPATH "")
+ endif()
+ endforeach()
+ file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE SHARED_LIBRARY FILES
+ "/home/alan/gitlive/roojspacker/jsdoc/libroojspacker-1.2.so.."
+ "/home/alan/gitlive/roojspacker/jsdoc/libroojspacker-1.2.so..."
+ )
+ foreach(file
+ "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libroojspacker-1.2.so.."
+ "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libroojspacker-1.2.so..."
+ )
+ if(EXISTS "${file}" AND
+ NOT IS_SYMLINK "${file}")
+ if(CMAKE_INSTALL_DO_STRIP)
+ execute_process(COMMAND "/usr/bin/strip" "${file}")
+ endif()
+ endif()
+ endforeach()
+endif()
+
+if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
+ if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libroojspacker-1.2.so" AND
+ NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libroojspacker-1.2.so")
+ file(RPATH_CHECK
+ FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libroojspacker-1.2.so"
+ RPATH "")
+ endif()
+ file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE SHARED_LIBRARY FILES "/home/alan/gitlive/roojspacker/jsdoc/libroojspacker-1.2.so")
+ if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libroojspacker-1.2.so" AND
+ NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libroojspacker-1.2.so")
+ if(CMAKE_INSTALL_DO_STRIP)
+ execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libroojspacker-1.2.so")
+ endif()
+ endif()
+endif()
+
+if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
+ list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES
+ "//.h")
+ if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION)
+ message(WARNING "ABSOLUTE path INSTALL DESTINATION : ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
+ endif()
+ if(CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION)
+ message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
+ endif()
+file(INSTALL DESTINATION "/" TYPE FILE FILES "/home/alan/gitlive/roojspacker/jsdoc/.h")
+endif()
+
+if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
+ list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES
+ "/vala/vapi/.vapi")
+ if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION)
+ message(WARNING "ABSOLUTE path INSTALL DESTINATION : ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
+ endif()
+ if(CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION)
+ message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
+ endif()
+file(INSTALL DESTINATION "/vala/vapi" TYPE FILE FILES "/home/alan/gitlive/roojspacker/jsdoc/.vapi")
+endif()
+
+if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
+ list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES
+ "/pkgconfig/.pc")
+ if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION)
+ message(WARNING "ABSOLUTE path INSTALL DESTINATION : ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
+ endif()
+ if(CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION)
+ message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
+ endif()
+file(INSTALL DESTINATION "/pkgconfig" TYPE FILE FILES "/home/alan/gitlive/roojspacker/jsdoc/.pc")
+endif()
+