Commit 84e76e91 authored by Martin Schultz's avatar Martin Schultz

* added cmake folder recursion for msvc to all plugins

parent ae565a4b
......@@ -40,6 +40,7 @@ set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${_more_macro_directories})
# include our cmake files
include (ACGCommon)
include (MSVCMacros)
acg_get_version (OpenFlipper)
......
......@@ -61,6 +61,7 @@ endif(OPENFLIPPER_PLUGIN_INCLUDED)
set(OPENFLIPPER_PLUGIN_INCLUDED TRUE PARENT_SCOPE)
include (ACGCommon)
include (MSVCMacros)
# get plugin name from directory name
macro (_get_plugin_name var)
......@@ -402,7 +403,6 @@ endmacro ()
# main function
#======================================================
function (_build_openflipper_plugin plugin)
acg_set (OPENFLIPPER_${_PLUGIN}_BUILD "0")
# get upper plugin name
......@@ -784,7 +784,6 @@ endfunction ()
macro (openflipper_plugin)
_get_plugin_name (_plugin)
string (TOUPPER ${_plugin} _PLUGIN)
# add option to disable plugin build
......@@ -803,6 +802,8 @@ macro (openflipper_plugin)
)
if (NOT DISABLE_PLUGIN_${_PLUGIN})
#group the files in msvc
RECURSE_GROUPS( ${CMAKE_CURRENT_SOURCE_DIR} )
_build_openflipper_plugin (${_plugin} ${ARGN})
set(LOADED_PACKAGES ${LOADED_PACKAGES} PARENT_SCOPE)
set(INSTALLDATA_DIRS ${INSTALLDATA_DIRS} PARENT_SCOPE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment