[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Getfem-commits] [getfem-commits] branch master updated: Make perl a sof
From: |
Konstantinos Poulios |
Subject: |
[Getfem-commits] [getfem-commits] branch master updated: Make perl a soft build dependency with cmake |
Date: |
Wed, 06 Mar 2024 17:53:32 -0500 |
This is an automated email from the git hooks/post-receive script.
logari81 pushed a commit to branch master
in repository getfem.
The following commit(s) were added to refs/heads/master by this push:
new 98e03c6e Make perl a soft build dependency with cmake
98e03c6e is described below
commit 98e03c6e5e53ed236a0328bc98a730b06d7d264c
Author: Konstantinos Poulios <logari81@gmail.com>
AuthorDate: Wed Mar 6 23:53:20 2024 +0100
Make perl a soft build dependency with cmake
---
CMakeLists.txt | 3 +++
1 file changed, 3 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ac5a9e12..8c31e2ef 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -37,6 +37,7 @@ option(ENABLE_SUPERLU "Enable SuperLU support" ON) # might be
turned off by cmak
option(ENABLE_MUMPS "Enable MUMPS support" ON) # might be turned off by
cmake if MUMPS is not found
# Configure option for enabling/disabling multithreaded BLAS (requires the dl
library)
option(ENABLE_MULTITHREADED_BLAS "Enable multithreaded blas support" OFF)
+option(GENERATE_GETFEM_IM_LIST_H "Run perl script that (re-)generates header
file with integration methods" ON)
option(BUILD_SHARED_LIBS "Build libraries as SHARED, equivalent to
BUILD_LIBRARY_TYPE=SHARED" ON)
set(BUILD_LIBRARY_TYPE "SHARED" CACHE STRING
@@ -662,11 +663,13 @@ message(STATUS "GetFEM version ${GETFEM_VERSION}")
configure_file(cmake/gmm_arch_config.h.in
${CMAKE_BINARY_DIR}/gmm/gmm_arch_config.h)
configure_file(cmake/getfem_arch_config.h.in
${CMAKE_BINARY_DIR}/getfem/getfem_arch_config.h)
+if(GENERATE_GETFEM_IM_LIST_H)
add_custom_command(
OUTPUT ${CMAKE_SOURCE_DIR}/src/getfem/getfem_im_list.h
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/src/getfem/
COMMAND perl ${CMAKE_SOURCE_DIR}/cubature/make_getfem_im_list
${CMAKE_SOURCE_DIR}/cubature
COMMENT "Generating getfem_im_list.h")
+endif()
install(TARGETS libgetfem
FILE_SET header_set1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Getfem-commits] [getfem-commits] branch master updated: Make perl a soft build dependency with cmake,
Konstantinos Poulios <=