Skip to content

Commit

Permalink
[alien] Handle Alien default build choice.
Browse files Browse the repository at this point in the history
Build ArcaneInterface only if Arcane is built.
  • Loading branch information
stdcm committed Nov 20, 2023
1 parent 03dd6dd commit 256d0ea
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions _common/build_all/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,14 @@ enable_testing()
# ----------------------------------------------------------------------------

if (NOT ALIEN_BUILD_COMPONENT)
# Deux valeurs possibles: 'alien_standalone' ou 'all'
set(ALIEN_BUILD_COMPONENT alien_standalone) # alien/ArcaneInterface (=Alien_legacy_plugins) temporarily deactivated. To remove.
endif()
if (Arcane IN_LIST ARCANEFRAMEWORK_BUILD_COMPONENTS)
# if Arcane is specified in command line build all Alien components
set (ALIEN_BUILD_COMPONENT all)
else ()
# else build only alien_standalone (does not depend on Arcane)
set(ALIEN_BUILD_COMPONENT alien_standalone) # alien/ArcaneInterface (=Alien_legacy_plugins) temporarily deactivated. To remove.
endif()
endif ()

# ----------------------------------------------------------------------------

Expand Down

0 comments on commit 256d0ea

Please sign in to comment.