Adds some additional variables normally set by FindCelix.cmake to the top level CMakeLists.txt file
@@ -25,7 +25,19 @@ include(GNUInstallDirs)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")
-SET(CMAKE_BUILD_TYPE "Debug")
+#Setup vars conform the FindCelix setup, so that examples and supporting cmake command can assume these variables are set
+#TODO move this to a seperate cmake file or integrate in the FindCelix.cmake file
+set(CELIX_FOUND true)
+set(CELIX_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/framework/public/include ${CMAKE_SOURCE_DIR}/utils/public/include)
+set(CELIX_LIBRARIES celix_framework celix_utils celix_dfi)
+set(CELIX_LAUNCHER celix)
+#TODO CELIX_BUNDLES_DIR this will not work, maybe only use var (e.g. ${CELIX_SHELL_BUNDLE}) for bundles
+set(CELIX_DM_LIB dependency_manager_so)
+set(CELIX_DM_STATIC_LIB dependency_manager_static)
+set(CELIX_DM_STATIC_CXX_LIB dependency_manager_cxx_static)
+set(CELIX_PROJECT true) #Note this var is not set by FindCelix and can be used to test if this is the celix project or a project using celix
+
+set(CMAKE_BUILD_TYPE "Debug")
# see https://public.kitware.com/Bug/view.php?id=15696
IF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} EQUAL 3.3 AND ${CMAKE_GENERATOR} STREQUAL "Unix Makefiles")
