4 qt5_wrap_ui(UIS mainwindow.ui)
6 qt5_wrap_cpp(MOCS mainwindow.h)
8 add_executable(alsoft-config
14 ${UIS} ${RSCS} ${TRS} ${MOCS})
15 target_link_libraries(alsoft-config Qt5::Widgets)
16 target_include_directories(alsoft-config PRIVATE "${alsoft-config_BINARY_DIR}"
17 "${OpenAL_BINARY_DIR}")
18 set_target_properties(alsoft-config PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${OpenAL_BINARY_DIR})
19 if(TARGET build_version)
20 add_dependencies(alsoft-config build_version)
23 message(STATUS "Building configuration program")
25 if(ALSOFT_INSTALL_UTILS)
26 install(TARGETS alsoft-config
27 RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
28 LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
29 ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})