Skip to content

arnholm/carve

 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 94.5%
  • Objective-C 4.0%
  • CMake 0.9%
  • Python 0.3%
  • C 0.2%
  • Batchfile 0.1%