update to v1.6

This commit is contained in:
2021-11-02 09:36:25 +08:00
parent 6c27405c79
commit 212df7eb0c
12 changed files with 24015 additions and 15553 deletions

View File

@@ -1,15 +1,15 @@
cmake_minimum_required(VERSION 3.15.2)
# 设置工程名称和语言
project(TETGEN)
project(Tetgen VERSION 1.6)
# 添加配置配件编写的函数
include(CMakePackageConfigHelpers)
message(STATUS "Platform: " ${CMAKE_HOST_SYSTEM_NAME})
if(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Windows")
#set(CMAKE_C_COMPILER gcc)
#set(CMAKE_CXX_COMPILER g++)
set(CMAKE_INSTALL_PREFIX D:/Library)
endif()
# CMake默认的安装路径 Windows下为C:/Program\ Files/${Project_Name} Linux/Unix下为/usr/local
message(STATUS "Install prefix: " ${CMAKE_INSTALL_PREFIX})
# CMake默认的变异类型为空
message(STATUS "Build type: " ${CMAKE_BUILD_TYPE})
# 添加源文件地址
add_subdirectory(src/)