Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
add #tmc mesh generator
Browse files Browse the repository at this point in the history
  • Loading branch information
doug-moen committed Nov 16, 2021
1 parent e217335 commit 2375965
Show file tree
Hide file tree
Showing 10 changed files with 611 additions and 365 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@
[submodule "extern/libfive"]
path = extern/libfive
url = https://github.com/curv3d/libfive
[submodule "extern/tmc"]
path = extern/tmc
url = https://github.com/curv3d/tmc
8 changes: 7 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ set_property(
GIT_BRANCH="whatever")
set_property(TARGET libfive PROPERTY CXX_STANDARD 17)

# tmc library
file(GLOB TmcSrc "extern/tmc/cpp_dmc/[A-Z]*.cpp")
add_library(tmc ${TmcSrc})
target_include_directories(tmc PUBLIC extern/tmc/cpp_dmc)
set_property(TARGET tmc PROPERTY CXX_STANDARD 17)

# REPLxx library
file(GLOB ReplxxSrc "extern/replxx/src/*.cxx" "extern/replxx/src/*.cpp")
add_library(replxx ${ReplxxSrc})
Expand Down Expand Up @@ -164,7 +170,7 @@ else ()
endif ()
set(Libs
libcurv_io libcurv imgui glfw glad ${LibOpenGL} replxx double-conversion
libfive
libfive tmc
Boost::iostreams Boost::filesystem Boost::system ${LibOpenVDB} tbb
${LibHalf} pthread ${LibDl} ${LibOmp})

Expand Down
Loading

0 comments on commit 2375965

Please sign in to comment.