##// END OF EJS Templates
Removed useless Visualization CTRLR component...
Removed useless Visualization CTRLR component Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1401:332611cbdba3
r1475:d1ba435fd66a
Show More
CMakeLists.txt
37 lines | 1.2 KiB | text/plain | TextLexer
include_directories(include)
FILE (GLOB_RECURSE mockplugin_SRCS
include/*.h
src/*.cpp
resources/*.qrc
)
add_definitions(-DQT_PLUGIN)
add_definitions(-DPLUGIN_JSON_FILE_PATH="${CMAKE_CURRENT_SOURCE_DIR}/resources/mockplugin.json")
if(NOT BUILD_SHARED_LIBS)
add_definitions(-DQT_STATICPLUGIN)
endif()
add_library(mockplugin ${mockplugin_SRCS})
SET_TARGET_PROPERTIES(mockplugin PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS TRUE)
target_link_libraries(mockplugin sciqlopgui)
install(TARGETS mockplugin
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/SciQLop
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/SciQLop
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}/SciQLop)
include(sciqlop_tests)
add_definitions(-DMOCKPLUGIN_TESTS_RESOURCES_DIR="${CMAKE_CURRENT_LIST_DIR}/tests-resources")
add_definitions(-DMOCKPLUGIN_LIB)
#declare_test(TestCosinusAcquisition TestCosinusAcquisition tests/TestCosinusAcquisition.cpp "mockplugin;Qt5::Test")
if(PyWrappers)
if(MINGW)
add_definitions(-D_hypot=hypot)
endif()
pybind11_add_module(pytestmockplugin tests/PyTestMockPluginWrapper.cpp)
target_link_libraries(pytestmockplugin PUBLIC mockplugin)
target_link_libraries(pytestmockplugin PUBLIC pysciqlop)
endif()