🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
962 B

  1. project(alsoft-config)
  2. if(Qt5Widgets_FOUND)
  3. qt5_wrap_ui(UIS mainwindow.ui)
  4. qt5_wrap_cpp(MOCS mainwindow.h)
  5. add_executable(alsoft-config
  6. main.cpp
  7. mainwindow.cpp
  8. mainwindow.h
  9. verstr.cpp
  10. verstr.h
  11. ${UIS} ${RSCS} ${TRS} ${MOCS})
  12. target_link_libraries(alsoft-config Qt5::Widgets)
  13. target_include_directories(alsoft-config PRIVATE "${alsoft-config_BINARY_DIR}"
  14. "${OpenAL_BINARY_DIR}")
  15. set_target_properties(alsoft-config PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${OpenAL_BINARY_DIR})
  16. if(TARGET build_version)
  17. add_dependencies(alsoft-config build_version)
  18. endif()
  19. message(STATUS "Building configuration program")
  20. if(ALSOFT_INSTALL_UTILS)
  21. install(TARGETS alsoft-config
  22. RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
  23. LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
  24. ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
  25. endif()
  26. endif()