Files
test-17a8ea13/CMakeLists.txt
Hang Si 1eb7385637 TetGen 1.5.0
- obtained from www.wias-berlin.de
- license change from MIT with non-commercial addition to AGPLv3
2025-05-15 21:49:03 +02:00

14 lines
552 B
CMake

# Set the minimum required version of cmake for a project.
cmake_minimum_required(VERSION 2.6)
# Add an executable to the project using the specified source files.
add_executable(tetgen tetgen.cxx predicates.cxx)
#Add a library to the project using the specified source files.
# In Linux/Unix, it will creates the libtet.a
add_library(tet STATIC tetgen.cxx predicates.cxx)
#Set properties on a target.
#We use this here to set -DTETLIBRARY for when compiling the
#library
set_target_properties(tet PROPERTIES "COMPILE_DEFINITIONS" TETLIBRARY)