cmake: some more work on qt/musredit.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
#--- musredit for Qt > 5.0 ----------------------------------------------------
|
||||
#--- musredit_qt5 for Qt > 5.0 ------------------------------------------------
|
||||
|
||||
message("debug> will eventually deal with Qt > 5.0 musredit, musrStep, musrWiz, ...")
|
||||
|
||||
@ -8,6 +8,12 @@ configure_file(
|
||||
${CMAKE_CURRENT_BINARY_DIR}/musrfit-info.h
|
||||
)
|
||||
|
||||
#add_subdirectory(musredit)
|
||||
#--- set Qt specific cmake variables ------------------------------------------
|
||||
#--- instruct cmake to run moc automatically when needed
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
#--- create code from a list of Qt designer ui files
|
||||
set(CMAKE_AUTOUIC ON)
|
||||
|
||||
add_subdirectory(musredit)
|
||||
#add_subdirectory(musrStep)
|
||||
#add_subdirectory(musrWiz)
|
||||
|
15
src/musredit_qt5/musredit/CMakeLists.txt
Normal file
15
src/musredit_qt5/musredit/CMakeLists.txt
Normal file
@ -0,0 +1,15 @@
|
||||
#--- musredit for Qt > 5.0 ----------------------------------------------------
|
||||
|
||||
message("debug> will deal with the build of musredit (Qt 5)")
|
||||
|
||||
#--- check if Qt5WebEngine or Qt5WebKit is present ----------------------------
|
||||
find_package(Qt5WebEngine QUIET)
|
||||
find_package(Qt5WebKit QUIET)
|
||||
|
||||
if (Qt5WebEngine_FOUND)
|
||||
message("debug> Qt5WebEngine is present.")
|
||||
elseif (Qt5WebKit_FOUND)
|
||||
message("debug> Qt5WebKit is present.")
|
||||
else (Qt5WebEngine_FOUND)
|
||||
message("debug> Neither Qt5WebEngine nor Qt5WebKit found.")
|
||||
endif (Qt5WebEngine_FOUND)
|
Reference in New Issue
Block a user