| if (WIN32) option(BUILD_PYTHON_PLUGIN"Building Python Plugin"OFF) else() option(BUILD_PYTHON_PLUGIN"Building Python Plugin"ON) endif() if(NOT BUILD_PYTHON_PLUGIN) return() elesif(NOT ENABLE_PYTHON) message(FATAL_ERROR"PythonPlugin needs to ENABLE_PYTHON") endif() set(target CnoidPythonPlugin) set(sources PythonPlugin.cpp PythonExecutor.cpp PythonScriptItem.cpp PythonScriptItemImpl.cpp PythonConsoleView.cpp) set(headers PythonPlugin.h PythonExecutor.h PythonScriptItem.h PythonScriptItemImpl.h) make_gettext_mofiles($ |