You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move Nabla submodule update function to separate CMake script which can be invoked from cmd, remove .repository & .artifactory persistent volumes, bind whole Nabla directory from host and write directly to it from containers therefore make easy development - containers see local changes, make sure submodules are updated by host to prevent issues with .git shared between containers and host, correct dependency service chain
option(NBL_UPDATE_GIT_SUBMODULE"Turn this ON to let CMake update all public submodules for you"ON)
341
-
option(NBL_EXIT_ON_UPDATE_GIT_SUBMODULE"Turn this ON to stop & exit configuration once submodules are updated"OFF)
342
-
option(NBL_FORCE_ON_UPDATE_GIT_SUBMODULE"Submodules will be updated with --force flag if NBL_FORCE_UPDATE_GIT_SUBMODULE is turned ON, use with caution - if there are any uncommited files in submodules' working tree they will be removed!"OFF)
343
-
option(NBL_SYNC_ON_UPDATE_GIT_SUBMODULE"Sync initialized submodule paths if NBL_FORCE_UPDATE_GIT_SUBMODULE is turned ON, this is useful when any submodule remote path got modified and you want to apply this modification to your local repository. Turning NBL_FORCE_ON_UPDATE_GIT_SUBMODULE implies this option"OFF)
344
-
option(NBL_UPDATE_GIT_SUBMODULE_INCLUDE_PRIVATE"Turn this ON to attempt to update private Nabla submodules"OFF)
345
-
option(NBL_UPDATE_GIT_SUBMODULE_NO_SEPARATE_SHELL"Turn this ON to prevent CMake from executing git submodules update or sync in a separate shell - be aware that the interaction with shell will be impossible in case of paraphrase prompt request of your key!"ON)
list(APPEND NBL_CONFIG_SETUP_CMD "-c;submodule.${NBL_SUBMODULE_NAME}.update=none") # filter submodules - only those on the INCLUDE_SUBMODULE_PATHS list will be updated when recursive update is requested, all left will be skipped
execute_process(COMMAND${CMAKE_COMMAND}-Eecho"All submodules are about to get updated and initialized in repository because NBL_UPDATE_GIT_SUBMODULE is turned ON!")
set(NBL_BOOST_LIBS_TO_INIT${NBL_BOOST_LIBS}wavenumeric_conversion) # wave and all of its deps, numeric_conversion is nested in conversion submodule (for some reason boostdep tool doesn't output it properly)
0 commit comments