/carve

carve is a library for constructive solid geometry. Used with xcsg. g++ & MSVC compatible. Moved to https://gitlab.com/arnholm

Primary LanguageC++MIT LicenseMIT

This fork of carve contains fixes to allow static library compilation for

  • Windows MSVC2013 (express) & MSVC2019 (community) x64 compilers
  • Linux Ubuntu GNU g++ x64

Basic build instructions

  • Use CMake Gui on both platforms, disable dev warning (Options menu)
  • Enable only CARVE_USE_EXACT_PREDICATES
  • Set "Where to build" ../carve/build
  • Windows MSVC2013: Build using carve/build/carve.sln
    • Static libs under build/lib/Release and build/lib/Debug
  • Linux: Build with makefile under carve/build
    • Static lib under build/lib

Linux command line build with cmake

$ cd carve

$ cmake -B build -DBUILD_TESTING:BOOL="0" -DCARVE_USE_EXACT_PREDICATES:BOOL="1" -DCARVE_GTEST_TESTS:BOOL="0" -DCARVE_WITH_GUI:BOOL="0" -DBUILD_SHARED_LIBS:BOOL="0"

$ cd build

$ make