Guide
- version: 4.13.1
install
1 | wget https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-4.13.1/CGAL-4.13.1.zip |
with options
QT5_DIR /opt/qt/5.7/gcc_64/lib/cmake/Qt5
compile and install
1 | make -j8 |
output
Scanning dependencies of target CGAL
[ 16%] Building CXX object src/CGAL/CMakeFiles/CGAL.dir/all_files.cpp.o
[ 33%] Linking CXX shared library ../../lib/libCGAL.so
[ 33%] Built target CGAL
Scanning dependencies of target CGAL_ImageIO
Scanning dependencies of target CGAL_Core
[ 50%] Building CXX object src/CGAL_Core/CMakeFiles/CGAL_Core.dir/all_files.cpp.o
[ 66%] Building CXX object src/CGAL_ImageIO/CMakeFiles/CGAL_ImageIO.dir/all_files.cpp.o
[ 83%] Linking CXX shared library ../../lib/libCGAL_ImageIO.so
[ 83%] Built target CGAL_ImageIO
[100%] Linking CXX shared library ../../lib/libCGAL_Core.so
[100%] Built target CGAL_Core
CMakeLists.txt
1 | find_package(CGAL REQUIRED) |
CGAL_USE_FILE
CGAL_DIR /usr/local/lib/cmake/CGAL
Reference
History
- 20190902: created.