forked from AcademySoftwareFoundation/MaterialX
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'adsk_contrib/dev' into adsk_contrib/shaderx
- Loading branch information
Showing
1,476 changed files
with
14,577 additions
and
11,308 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,6 @@ | |
# Ignore directories | ||
build | ||
deploy | ||
|
||
# Ignore local editor settings | ||
.vscode/settings.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,35 @@ | ||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/documents/Libraries/ | ||
DESTINATION "${CMAKE_INSTALL_PREFIX}/documents/Libraries") | ||
set(DOXYGEN_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR}) | ||
set(DOXYGEN_HTML_OUTPUT_DIR ${DOXYGEN_OUTPUT_DIR}/MaterialXDocs) | ||
set(DOXYGEN_INPUT_LIST ${CMAKE_SOURCE_DIR}/documents/DeveloperGuide | ||
${CMAKE_SOURCE_DIR}/source/MaterialXCore | ||
${CMAKE_SOURCE_DIR}/source/MaterialXFormat | ||
${CMAKE_SOURCE_DIR}/source/MaterialXGenShader | ||
${CMAKE_SOURCE_DIR}/source/MaterialXGenShader/Nodes | ||
${CMAKE_SOURCE_DIR}/source/MaterialXGenGlsl | ||
${CMAKE_SOURCE_DIR}/source/MaterialXGenGlsl/Nodes | ||
${CMAKE_SOURCE_DIR}/source/MaterialXGenOsl | ||
${CMAKE_SOURCE_DIR}/source/MaterialXGenOgsFx | ||
${CMAKE_SOURCE_DIR}/source/MaterialXGenOsl | ||
${CMAKE_SOURCE_DIR}/source/MaterialXGenArnold | ||
${CMAKE_SOURCE_DIR}/source/MaterialXRender | ||
${CMAKE_SOURCE_DIR}/source/MaterialXRender/Handlers | ||
${CMAKE_SOURCE_DIR}/source/MaterialXRender/ShaderValidators | ||
${CMAKE_SOURCE_DIR}/source/MaterialXRenderHw | ||
${CMAKE_SOURCE_DIR}/source/MaterialXRenderGlsl | ||
${CMAKE_SOURCE_DIR}/source/MaterialXRenderOsl | ||
) | ||
string (REPLACE ";" " " DOXYGEN_INPUT_STR "${DOXYGEN_INPUT_LIST}") | ||
|
||
if(MATERIALX_BUILD_DOCS) | ||
set(DOXYGEN_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR}) | ||
set(DOXYGEN_HTML_OUTPUT_DIR ${DOXYGEN_OUTPUT_DIR}/MaterialXDocs) | ||
set(DOXYGEN_INPUT_LIST ${CMAKE_SOURCE_DIR}/documents/DeveloperGuide | ||
${CMAKE_SOURCE_DIR}/source/MaterialXCore | ||
${CMAKE_SOURCE_DIR}/source/MaterialXFormat | ||
${CMAKE_SOURCE_DIR}/source/MaterialXGenShader | ||
${CMAKE_SOURCE_DIR}/source/MaterialXGenGlsl | ||
${CMAKE_SOURCE_DIR}/source/MaterialXGenOgsFx | ||
${CMAKE_SOURCE_DIR}/source/MaterialXGenOsl) | ||
string (REPLACE ";" " " DOXYGEN_INPUT_STR "${DOXYGEN_INPUT_LIST}") | ||
find_package(Doxygen) | ||
|
||
find_package(Doxygen) | ||
|
||
if(DOXYGEN_FOUND) | ||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile) | ||
add_custom_target(MaterialXDocs ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile | ||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} | ||
COMMENT "Generating HTML documentation: ${DOXYGEN_HTML_OUTPUT_DIR}/index.html") | ||
add_custom_command(TARGET MaterialXDocs PRE_BUILD | ||
COMMAND ${CMAKE_COMMAND} -E copy_directory | ||
${CMAKE_SOURCE_DIR}/documents/Images ${CMAKE_CURRENT_BINARY_DIR}) | ||
install(DIRECTORY ${DOXYGEN_HTML_OUTPUT_DIR} | ||
DESTINATION "${CMAKE_INSTALL_PREFIX}/documents" MESSAGE_NEVER) | ||
endif(DOXYGEN_FOUND) | ||
endif(MATERIALX_BUILD_DOCS) | ||
if(DOXYGEN_FOUND) | ||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile) | ||
add_custom_target(MaterialXDocs ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile | ||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} | ||
COMMENT "Generating HTML documentation: ${DOXYGEN_HTML_OUTPUT_DIR}/index.html") | ||
add_custom_command(TARGET MaterialXDocs PRE_BUILD | ||
COMMAND ${CMAKE_COMMAND} -E copy_directory | ||
${CMAKE_SOURCE_DIR}/resources/Images ${CMAKE_CURRENT_BINARY_DIR}) | ||
install(DIRECTORY ${DOXYGEN_HTML_OUTPUT_DIR} | ||
DESTINATION "${CMAKE_INSTALL_PREFIX}/documents" MESSAGE_NEVER) | ||
endif(DOXYGEN_FOUND) |
Oops, something went wrong.