#--- musredit_qt6 for Qt > 6.0 ------------------------------------------------

#--- The Qt applications do not use ROOT (with the exception of the mupp
#--- plotter, which pulls in what it needs itself). Drop ROOT's include dirs and
#--- recommended compiler flags for this part of the tree, so that they cannot
#--- interfere with the Qt build. Both settings are directory scoped and are
#--- inherited by the sub-directories added below, nothing outside is affected.
set(CMAKE_CXX_FLAGS "${MUSRFIT_CXX_FLAGS_NO_ROOT}")
set_property(DIRECTORY PROPERTY INCLUDE_DIRECTORIES "")

#--- create musrfit-info.h ----------------------------------------------------
configure_file(
  ${CMAKE_SOURCE_DIR}/cmake/musrfit-info.h.in
  ${CMAKE_CURRENT_BINARY_DIR}/musrfit-info.h
)

add_subdirectory(musredit)
add_subdirectory(musrStep)
add_subdirectory(musrWiz)
add_subdirectory(mupp)
