File: cgal.prf

package info (click to toggle)
openscad 2021.01-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 36,096 kB
  • sloc: cpp: 53,199; sh: 4,384; ansic: 4,382; python: 1,813; yacc: 853; javascript: 762; lex: 417; lisp: 163; xml: 127; makefile: 118
file content (20 lines) | stat: -rw-r--r-- 387 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
DEFINES += ENABLE_CGAL CGAL_HEADER_ONLY

# Optionally specify location of CGAL using the 
# CGALDIR env. variable
CGAL_DIR = $$(CGALDIR)
!isEmpty(CGAL_DIR) {
  QMAKE_INCDIR += $$CGAL_DIR/include
  QMAKE_LIBDIR += $$CGAL_DIR/lib
  message("CGAL location: $$CGAL_DIR")
}

LIBS += -lmpfr -lgmp

*g++* {
  QMAKE_CXXFLAGS += -frounding-math
}

*clang* {
  QMAKE_CXXFLAGS -= -frounding-math
}