arnholm / carve

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:C++ 94.5%Language:Objective-C 4.0%Language:CMake 0.9%Language:Python 0.3%Language:C 0.2%Language:Batchfile 0.1%Language:Shell 0.0%