##// END OF EJS Templates
Update Meson build def...
Update Meson build def Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1477:70de8bd3d575
r1480:fb552be9c83a
Show More
CMakeLists.txt
61 lines | 1.5 KiB | text/plain | TextLexer
Modernized CMake configuration...
r1331 include_directories(include)
Initialisation de l'application multithread avec le spimpl....
r21
Modernized CMake configuration...
r1331 FILE (GLOB_RECURSE app_SRCS
include/*.h
Started PySide2 migration, builds with CMake and produces a working binary...
r1477 src/MainWindow.cpp
src/toolbar.cpp
Modernized CMake configuration...
r1331 resources/*.qrc
)
Initialisation de l'application multithread avec le spimpl....
r21
Modernized CMake configuration...
r1331 QT5_WRAP_UI(UiGenerated_SRCS
ui/MainWindow.ui
Initialisation de l'application multithread avec le spimpl....
r21 )
Started PySide2 migration, builds with CMake and produces a working binary...
r1477 add_library(sciqlopapp ${UiGenerated_SRCS} ${app_SRCS})
Added Win32 console option...
r1456 if(ENABLE_WIN32_CONSOLE)
Started PySide2 migration, builds with CMake and produces a working binary...
r1477 add_executable(sciqlop src/Main.cpp)
Added Win32 console option...
r1456 else()
Started PySide2 migration, builds with CMake and produces a working binary...
r1477 add_executable(sciqlop WIN32 src/Main.cpp)
Added Win32 console option...
r1456 endif()
Modernized CMake configuration...
r1331 if(NOT BUILD_SHARED_LIBS)
add_definitions(-DQT_STATICPLUGIN)
Switched to new TS impl but quite broken!...
r1420 if(BUILD_PLUGINS)
Amda, cdaweb and test python are now fully embedded in SciQLop...
r1440 #target_link_libraries(sciqlopapp mockplugin)
Ported MockPlugin to new Variable2 impl and added dummy python plugin...
r1423 #target_link_libraries(sciqlopapp amdaplugin)
target_link_libraries(sciqlopapp python_providers)
Switched to new TS impl but quite broken!...
r1420 endif()
endif()
if(NOT BUILD_PLUGINS)
add_definitions(-DSQP_NO_PLUGINS)
Modernized CMake configuration...
r1331 endif()
target_link_libraries(sciqlopapp
Qt5::Core
Qt5::Widgets
Qt5::Network
Qt5::PrintSupport
Qt5::Svg
sciqlopgui
sciqlopcore
Configuration update to permit make install on linux
r257 )
Initialisation de l'application multithread avec le spimpl....
r21
Started PySide2 migration, builds with CMake and produces a working binary...
r1477 target_link_libraries(sciqlop
sciqlopapp
)
install(TARGETS sciqlopapp
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
install(TARGETS sciqlop DESTINATION ${CMAKE_INSTALL_BINDIR})
Modernized CMake configuration...
r1331 install(FILES resources/SciQLOP.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications/)
added appstream data...
r1402 install(FILES resources/SciQLOP.appdata.xml DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/metainfo/)
Modernized CMake configuration...
r1331 install(FILES resources/sciqlopLOGO.svg DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/SciQLOP/icons/)
Initialisation de l'application multithread avec le spimpl....
r21
Started PySide2 migration, builds with CMake and produces a working binary...
r1477 add_subdirectory(PySide2-bindings)