1 Star 0 Fork 1

Fortran开源库镜像/fftpack

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 921 Bytes
一键复制 编辑 原始数据 按行查看 历史
jchristopherson 提交于 2023-01-03 12:08 . Add CMake support
# Master CMAKE Build Script
cmake_minimum_required(VERSION 3.24)
project(
fftpack
LANGUAGES Fortran
VERSION 1.0.0
)
# Get helper macros and functions
include("${PROJECT_SOURCE_DIR}/cmake/helper.cmake")
# Confgiure everything
add_subdirectory(configure)
# Source
add_subdirectory(src)
add_fortran_library(
${PROJECT_NAME}
${PROJECT_INCLUDE_DIR}
${CMAKE_INSTALL_INCLUDEDIR}
${PROJECT_VERSION}
${PROJECT_VERSION_MAJOR}
${FFTPACK_SOURCES}
)
# Installation
add_subdirectory(install)
# Testing
option(BUILD_TESTING "Build tests")
include(CTest)
message(STATUS "Build FFTPACK tests: ${BUILD_TESTING}")
if (BUILD_TESTING)
enable_testing()
add_subdirectory(dependencies)
add_subdirectory(test)
endif()
# Examples
option(BUILD_FFTPACK_EXAMPLES "Build FFTPACK examples")
message(STATUS "Build FFTPACK examples: ${BUILD_FFTPACK_EXAMPLES}")
if (BUILD_FFTPACK_EXAMPLES)
add_subdirectory(example)
endif()
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
FORTRAN
1
https://gitee.com/fortran-base/fftpack.git
git@gitee.com:fortran-base/fftpack.git
fortran-base
fftpack
fftpack
main

搜索帮助