forked from AcademySoftwareFoundation/MaterialX
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Draft : Prototype of named values proposal (AcademySoftwareFoundation…
…#2149). Add 'zero' and 'one' named values to some basic types, and use those named values in some of the basic arithmetic nodes as an example. Add build time tool to process and write out resolved values, and add support for run-time evaluation - switchable by setting MATERIALX_BUILD_BAKE_NAMED_VALUES cmake flag
- Loading branch information
Showing
12 changed files
with
468 additions
and
195 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
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
file(GLOB materialx_source "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp") | ||
file(GLOB materialx_headers "${CMAKE_CURRENT_SOURCE_DIR}/*.h*") | ||
|
||
set(TARGET_NAME MaterialXBuildLibrary) | ||
|
||
set(MATERIALX_LIBRARIES | ||
MaterialXFormat | ||
MaterialXCore) | ||
|
||
add_executable(${TARGET_NAME} ${materialx_source} ${materialx_headers}) | ||
|
||
target_link_libraries( | ||
${TARGET_NAME} | ||
${MATERIALX_LIBRARIES}) |
Oops, something went wrong.