Choreonoid  1.5
Functions
CMakeLists.txt File Reference

Functions

 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($
 
mofiles add_cnoid_plugin (${target}SHARED ${sources}${headers}${mofiles}) target_link_libraries($
 

Function Documentation

mofiles add_cnoid_plugin (   ${target}SHARED ${sources}${headers}${mofiles})
if ( WIN32  )