| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 | project(CTKScriptingPythonWidgets)## 3rd party dependencies#if(CTK_LIB_Scripting/Python/Core_PYTHONQT_USE_VTK)  include(${VTK_USE_FILE})endif()## See CTK/CMake/ctkMacroBuildLib.cmake for details#set(KIT_export_directive "CTK_SCRIPTING_PYTHON_WIDGETS_EXPORT")# Source filesset(KIT_SRCS  ctkPythonConsole.cpp  ctkPythonConsole.h  )# Headers that should run through mocset(KIT_MOC_SRCS  ctkPythonConsole.h  )# UI filesset(KIT_UI_FORMS)# Resourcesset(KIT_resources)# Target libraries - See CMake/ctkFunctionGetTargetLibraries.cmake# The following macro will read the target libraries from the file 'target_libraries.cmake'ctkFunctionGetTargetLibraries(KIT_target_libraries)ctkMacroBuildLib(  NAME ${PROJECT_NAME}  EXPORT_DIRECTIVE ${KIT_export_directive}  SRCS ${KIT_SRCS}  MOC_SRCS ${KIT_MOC_SRCS}  UI_FORMS ${KIT_UI_FORMS}  TARGET_LIBRARIES ${KIT_target_libraries}  RESOURCES ${KIT_resources}  LIBRARY_TYPE ${CTK_LIBRARY_MODE}  )if(CTK_WRAP_PYTHONQT_FULL OR CTK_WRAP_PYTHONQT_LIGHT)  ctkMacroBuildLibWrapper(    TARGET ${PROJECT_NAME}    SRCS ${KIT_SRCS}    WRAPPER_LIBRARY_TYPE ${CTK_LIBRARY_MODE}    )endif()# Pluginsif(CTK_BUILD_QTDESIGNER_PLUGINS)  add_subdirectory(Plugins)endif()# Testingif(BUILD_TESTING)  add_subdirectory(Testing)endif()
 |