##// END OF EJS Templates
Added Win32 console option...
Added Win32 console option Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1456:003c9f54be90
r1456:003c9f54be90
Show More
CMakeLists.txt
47 lines | 1.2 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
src/*.cpp
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 )
Added Win32 console option...
r1456 if(ENABLE_WIN32_CONSOLE)
add_executable(sciqlopapp ${app_SRCS} ${UiGenerated_SRCS})
else()
add_executable(sciqlopapp WIN32 ${app_SRCS} ${UiGenerated_SRCS})
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
Modernized CMake configuration...
r1331 install(TARGETS sciqlopapp DESTINATION ${CMAKE_INSTALL_BINDIR})
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