Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
0d0651b3
Commit
0d0651b3
authored
Jan 31, 2019
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed some debug output
parent
b6c6eb44
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
+4
-6
BasePlugin/PythonFunctions.cc
BasePlugin/PythonFunctions.cc
+0
-1
CoreApp/CMakeLists.txt
CoreApp/CMakeLists.txt
+1
-3
cmake/plugin.cmake
cmake/plugin.cmake
+3
-2
No files found.
BasePlugin/PythonFunctions.cc
View file @
0d0651b3
...
...
@@ -9,7 +9,6 @@ std::map<QString,QObject*> map_;
void
setPluginPointer
(
QString
_name
,
QObject
*
_pointer
)
{
map_
[
_name
]
=
_pointer
;
std
::
cerr
<<
"Set: "
<<
_name
.
toStdString
()
<<
std
::
endl
;
}
QObject
*
getPluginPointer
(
QString
_name
)
{
...
...
CoreApp/CMakeLists.txt
View file @
0d0651b3
...
...
@@ -85,7 +85,7 @@ if ( PYTHON3_FOUND)
link_directories
(
${
Python3_LIBRARY_DIRS
}
)
add_definitions
(
-DPYTHON_ENABLED
)
message
(
"
Including
Python interpreter"
)
message
(
"
OpenFlipper builds with
Python interpreter"
)
endif
()
...
...
@@ -140,8 +140,6 @@ endif ()
if
(
PYTHON3_FOUND
)
target_link_libraries
(
${
OPENFLIPPER_PRODUCT_STRING
}
${
PYTHON_LIBRARY
}
pybind11::module pybind11::embed Python3::Python
)
message
(
"OpenFlipper builds with python support"
)
endif
()
# Mark this build part as building OpenFlippers Core
...
...
cmake/plugin.cmake
View file @
0d0651b3
...
...
@@ -641,9 +641,10 @@ function (_build_openflipper_plugin plugin)
if
(
${
_PLUGIN
}
_PYTHONINTERFACE AND NOT DISABLE_OPENFLIPPER_PYTHON_SYSTEM
)
if
(
PYTHON3_FOUND
)
message
(
"Trying to build
${
_PLUGIN
}
_PYTHONINTERFACE "
)
acg_append_files
(
sources
"*.cc"
PythonInterface
)
message
(
"Building Python Interface for plugin
${
_PLUGIN
}
"
)
acg_append_files
(
sources
"*.cc"
PythonInterface
)
link_directories
(
${
Python3_LIBRARY_DIRS
}
)
include_directories
(
${
Python3_INCLUDE_DIRS
}
)
add_definitions
(
-DPYTHONINTERFACE_ENABLED
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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