Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load Arcane package in root file and remove sub-projects #97

Merged
merged 2 commits into from
Jan 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
cmake_minimum_required(VERSION 3.21)
project(FemTest1Main LANGUAGES NONE)
project(ArcaneFem LANGUAGES C CXX)

find_package(Arcane REQUIRED)

enable_testing()

set(MSH_DIR ${CMAKE_SOURCE_DIR}/meshes/msh)

# Needed for dynamic loading of services
set(BUILD_SHARED_LIBS TRUE)

Expand Down
5 changes: 0 additions & 5 deletions aerodynamics/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
cmake_minimum_required(VERSION 3.21)
project(aerodynamics LANGUAGES C CXX)

find_package(Arcane REQUIRED)

add_executable(aerodynamics
FemModule.cc
main.cc
Expand Down
5 changes: 0 additions & 5 deletions elasticity/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
cmake_minimum_required(VERSION 3.21)
project(Elasticity LANGUAGES C CXX)

find_package(Arcane REQUIRED)

add_executable(Elasticity
FemModule.cc
main.cc
Expand Down
5 changes: 0 additions & 5 deletions elastodynamics/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
cmake_minimum_required(VERSION 3.21)
project(Elastodynamics LANGUAGES C CXX)

find_package(Arcane REQUIRED)

add_executable(Elastodynamics
FemModule.cc
main.cc
Expand Down
5 changes: 0 additions & 5 deletions electrostatics/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
cmake_minimum_required(VERSION 3.21)
project(Electrostatics LANGUAGES C CXX)

find_package(Arcane REQUIRED)

add_executable(Electrostatics
FemModule.cc
main.cc
Expand Down
5 changes: 0 additions & 5 deletions femutils/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
cmake_minimum_required(VERSION 3.21)
project(FemTest1 LANGUAGES C CXX)

find_package(Arcane REQUIRED)

option(ENABLE_DEBUG_MATRIX "Enable Debug matrix instead of a sparse one" OFF)

add_library(FemUtils
Expand Down
5 changes: 0 additions & 5 deletions fourier/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
cmake_minimum_required(VERSION 3.21)
project(Fourier LANGUAGES C CXX)

find_package(Arcane REQUIRED)

add_executable(Fourier
FemModule.cc
main.cc
Expand Down
5 changes: 0 additions & 5 deletions heat/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
cmake_minimum_required(VERSION 3.21)
project(heat LANGUAGES C CXX)

find_package(Arcane REQUIRED)

add_executable(heat
FemModule.cc
main.cc
Expand Down
5 changes: 0 additions & 5 deletions laplace/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
cmake_minimum_required(VERSION 3.21)
project(Laplace LANGUAGES C CXX)

find_package(Arcane REQUIRED)

add_executable(Laplace
FemModule.cc
main.cc
Expand Down
5 changes: 0 additions & 5 deletions passmo/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
cmake_minimum_required(VERSION 3.21)

project(Passmo LANGUAGES C CXX)
find_package(Arcane REQUIRED)

add_executable(Passmo
TypesElastodynamic.h
Elastodynamic_axl.h
Expand Down
6 changes: 0 additions & 6 deletions poisson/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
cmake_minimum_required(VERSION 3.21)
project(Poisson LANGUAGES C CXX)
#set(CMAKE_BUILD_TYPE Debug)

find_package(Arcane REQUIRED)

if (ARCANE_HAS_CUDA)
find_library(CUSPARSE_LIB cusparse HINTS ${CUDA_TOOLKIT_ROOT_DIR}/lib64)
if(CUSPARSE_LIB)
Expand Down
5 changes: 0 additions & 5 deletions soildynamics/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
cmake_minimum_required(VERSION 3.21)
project(Soildynamics LANGUAGES C CXX)

find_package(Arcane REQUIRED)

add_executable(Soildynamics
FemModule.cc
main.cc
Expand Down