Commit 7e20f9d7 authored by Martin Schultz's avatar Martin Schultz

* added cmake folder recursion for msvc to all plugins

parent 83406724
...@@ -61,6 +61,7 @@ endif(OPENFLIPPER_PLUGIN_INCLUDED) ...@@ -61,6 +61,7 @@ endif(OPENFLIPPER_PLUGIN_INCLUDED)
set(OPENFLIPPER_PLUGIN_INCLUDED TRUE PARENT_SCOPE) set(OPENFLIPPER_PLUGIN_INCLUDED TRUE PARENT_SCOPE)
include (ACGCommon) include (ACGCommon)
include (MSVCMacros)
# get plugin name from directory name # get plugin name from directory name
macro (_get_plugin_name var) macro (_get_plugin_name var)
...@@ -402,7 +403,6 @@ endmacro () ...@@ -402,7 +403,6 @@ endmacro ()
# main function # main function
#====================================================== #======================================================
function (_build_openflipper_plugin plugin) function (_build_openflipper_plugin plugin)
acg_set (OPENFLIPPER_${_PLUGIN}_BUILD "0") acg_set (OPENFLIPPER_${_PLUGIN}_BUILD "0")
# get upper plugin name # get upper plugin name
...@@ -784,7 +784,6 @@ endfunction () ...@@ -784,7 +784,6 @@ endfunction ()
macro (openflipper_plugin) macro (openflipper_plugin)
_get_plugin_name (_plugin) _get_plugin_name (_plugin)
string (TOUPPER ${_plugin} _PLUGIN) string (TOUPPER ${_plugin} _PLUGIN)
# add option to disable plugin build # add option to disable plugin build
...@@ -803,6 +802,8 @@ macro (openflipper_plugin) ...@@ -803,6 +802,8 @@ macro (openflipper_plugin)
) )
if (NOT DISABLE_PLUGIN_${_PLUGIN}) if (NOT DISABLE_PLUGIN_${_PLUGIN})
#group the files in msvc
RECURSE_GROUPS( ${CMAKE_CURRENT_SOURCE_DIR} )
_build_openflipper_plugin (${_plugin} ${ARGN}) _build_openflipper_plugin (${_plugin} ${ARGN})
set(LOADED_PACKAGES ${LOADED_PACKAGES} PARENT_SCOPE) set(LOADED_PACKAGES ${LOADED_PACKAGES} PARENT_SCOPE)
set(INSTALLDATA_DIRS ${INSTALLDATA_DIRS} 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