Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
7e20f9d7
Commit
7e20f9d7
authored
May 19, 2016
by
Martin Schultz
Browse files
* added cmake folder recursion for msvc to all plugins
parent
83406724
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake/plugin.cmake
View file @
7e20f9d7
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment