mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-17 13:43:48 +00:00
added libraries: opus flac libsndfile updated: libvorbis libogg openal - Everything works as expected for now. Bare in mind libsndfile needed the check for whether or not it could find the xiph libraries removed in order for this to work.
26 lines
657 B
CMake
26 lines
657 B
CMake
cmake_minimum_required(VERSION 3.9)
|
|
|
|
find_package(Doxygen)
|
|
|
|
if (NOT DOXYGEN_FOUND)
|
|
return()
|
|
endif()
|
|
|
|
option(BUILD_DOXYGEN "Enable API documentation building via Doxygen" ON)
|
|
|
|
if (NOT BUILD_DOXYGEN)
|
|
return()
|
|
endif()
|
|
|
|
set(top_srcdir "${PROJECT_SOURCE_DIR}")
|
|
configure_file(Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
|
|
|
|
|
|
add_custom_target(FLAC-doxygen ALL
|
|
COMMAND ${DOXYGEN_EXECUTABLE} Doxyfile
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
|
COMMENT "Generating API documentation with Doxygen"
|
|
VERBATIM )
|
|
|
|
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/api/"
|
|
DESTINATION "${CMAKE_INSTALL_DOCDIR}/api")
|