Skip to content

Commit

Permalink
Ptex v2.4.2, Metaversed.
Browse files Browse the repository at this point in the history
  • Loading branch information
furby-tm committed Oct 20, 2023
1 parent 519dc40 commit a7cfb5a
Show file tree
Hide file tree
Showing 41 changed files with 20,911 additions and 1 deletion.
13 changes: 13 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ let package = Package(
name: "Blosc",
targets: ["Blosc"]
),
.library(
name: "Ptex",
targets: ["Ptex"]
),
.library(
name: "Eigen",
targets: ["Eigen"]
Expand Down Expand Up @@ -253,6 +257,15 @@ let package = Package(
]
),

.target(
name: "Ptex",
publicHeadersPath: "include",
cxxSettings: [],
swiftSettings: [
.interoperabilityMode(.Cxx),
]
),

.target(
name: "PyBind11",
publicHeadersPath: "include",
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ as well as support for **Microsoft Windows**. To learn more about Swift, please
- **Blosc v1.21.5**
- **PyBind11 v2.11.1**
- **OpenVDB v10.1.0**
- **Ptex v2.4.2**
- **Eigen v3.4.0**
- **Draco v1.5.6**
- **Glslang v12.3.1**
Expand All @@ -29,6 +30,6 @@ as well as support for **Microsoft Windows**. To learn more about Swift, please
##### To use MetaverseKit with Swift, add **MetaverseKit** as a **Package** dependency in your Package.swift file, [example usage](https://github.com/wabiverse/SwiftUSD/blob/main/Package.swift#L95).
```swift
dependencies: [
.package(url: "https://github.com/wabiverse/MetaverseKit.git", from: "1.0.9"),
.package(url: "https://github.com/wabiverse/MetaverseKit.git", from: "1.1.1"),
]
```
19 changes: 19 additions & 0 deletions Sources/Ptex/Ptex.docc/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
find_package(Doxygen)
if (DOXYGEN_FOUND)

add_custom_command(
OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/doxygen_log.txt
COMMAND ${DOXYGEN_EXECUTABLE} Doxyfile >doxygen_log.txt
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
DEPENDS Doxyfile)
add_custom_target(doc ALL DEPENDS doxygen_log.txt)

# "make doxygen" forces doxygen to run
add_custom_target(
doxygen ${DOXYGEN_EXECUTABLE} Doxyfile >doxygen_log.txt
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
DEPENDS Doxyfile)

install(DIRECTORY ptex/ DESTINATION ${CMAKE_INSTALL_DOCDIR})

endif (DOXYGEN_FOUND)
Loading

0 comments on commit a7cfb5a

Please sign in to comment.