Skip to content

Commit 256d0ea

Browse files
committed
[alien] Handle Alien default build choice.
Build ArcaneInterface only if Arcane is built.
1 parent 03dd6dd commit 256d0ea

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

_common/build_all/CMakeLists.txt

+8-3
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,14 @@ enable_testing()
6464
# ----------------------------------------------------------------------------
6565

6666
if (NOT ALIEN_BUILD_COMPONENT)
67-
# Deux valeurs possibles: 'alien_standalone' ou 'all'
68-
set(ALIEN_BUILD_COMPONENT alien_standalone) # alien/ArcaneInterface (=Alien_legacy_plugins) temporarily deactivated. To remove.
69-
endif()
67+
if (Arcane IN_LIST ARCANEFRAMEWORK_BUILD_COMPONENTS)
68+
# if Arcane is specified in command line build all Alien components
69+
set (ALIEN_BUILD_COMPONENT all)
70+
else ()
71+
# else build only alien_standalone (does not depend on Arcane)
72+
set(ALIEN_BUILD_COMPONENT alien_standalone) # alien/ArcaneInterface (=Alien_legacy_plugins) temporarily deactivated. To remove.
73+
endif()
74+
endif ()
7075

7176
# ----------------------------------------------------------------------------
7277

0 commit comments

Comments
 (0)