This repository has been archived on 2020-09-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
libs/qglview/plugin/CMakeLists.txt
Бычков Андрей fc3f59a43e add option to build designer plugins
git-svn-id: svn://db.shs.com.ru/libs@714 a8b55f48-bf90-11e4-a774-851b48703e85
2020-01-23 08:15:48 +00:00

15 lines
515 B
CMake

if (DESIGNER_PLUGINS)
project(qglview_plugin)
include_directories("..")
add_definitions(-DQT_PLUGIN)
add_definitions(-DQT_NO_DEBUG)
add_definitions(-DQT_SHARED)
add_definitions(-DQDESIGNER_EXPORT_WIDGETS)
find_qt(${QtVersions} Core Designer Gui Widgets OpenGL)
qt_sources(SRC)
qt_wrap(${SRC} CPPS out_CPP QMS out_QM)
qt_add_library(${PROJECT_NAME} SHARED out_CPP)
qt_target_link_libraries(${PROJECT_NAME} qglview)
qt_install(TARGETS ${PROJECT_NAME} DESTINATION QtPlugins/designer)
endif()