Skip to content

Commit

Permalink
Restore ordering to orginal.
Browse files Browse the repository at this point in the history
  • Loading branch information
cianciosa committed Jun 10, 2024
1 parent 11a6eb3 commit 6cea406
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ endif ()
#-------------------------------------------------------------------------------
macro (register_project name url default_tag)
string (TOUPPER ${name} dir)
set (depends "${ARGN}")

option (BUILD_${dir} "Build ${name} subproject." OFF)
set (BUILD_TAG_${dir} ${default_tag} CACHE STRING "Name of the tag to checkout.")
Expand All @@ -82,7 +81,7 @@ macro (register_project name url default_tag)
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/${dir}
)

FetchContent_MakeAvailable(${name} ${depends})
FetchContent_MakeAvailable(${name})

if (GIT_FOUND)
# By default cmake clones projects in a headless state. After the repo is
Expand Down Expand Up @@ -124,28 +123,45 @@ endmacro ()
# SUB) #Optional Sub project directories.
#-------------------------------------------------------------------------------

# Register LIBSTELL
register_project(libstell
${URL_PROTO}github.com${URL_SEP}ORNL-Fusion/LIBSTELL.git
master)

# Register BOOZ_XFORM
register_project(booz_xform
${URL_PROTO}github.com${URL_SEP}ORNL-Fusion/BOOZ_XFORM.git
master
libstell)

# Register LGRID
register_project(lgrid
${URL_PROTO}github.com${URL_SEP}ORNL-Fusion/LGRID.git
# Register V3FIT
register_project(v3fit
${URL_PROTO}github.com${URL_SEP}cianciosa/V3FIT.git
master
libstell)
siesta
v3rfun
lgrid)

# Register V3RFUN
register_project(v3rfun
${URL_PROTO}github.com${URL_SEP}ORNL-Fusion/V3RFUN.git
master
libstell)

# Register SIESTA
register_project(siesta
${URL_PROTO}github.com${URL_SEP}ORNL-Fusion/SIESTA.git
master
parvmec
bmw)

# Register LGRID
register_project(lgrid
${URL_PROTO}github.com${URL_SEP}ORNL-Fusion/LGRID.git
master
libstell)

# Register SURFACE
register_project(surface
${URL_PROTO}github.com${URL_SEP}ORNL-Fusion/SURFACE.git
master
bmw)

# Register BMW
register_project(bmw
${URL_PROTO}github.com${URL_SEP}ORNL-Fusion/BMW.git
Expand All @@ -158,36 +174,20 @@ register_project(descur
master
libstell)

# Register MAKEGRID
register_project(makegrid
${URL_PROTO}github.com${URL_SEP}ORNL-Fusion/MAKEGRID.git
master
libstell)

# Register PARVMEC
register_project(parvmec
${URL_PROTO}github.com${URL_SEP}ORNL-Fusion/PARVMEC.git
master
makegrid
libstell)

# Register SIESTA
register_project(siesta
${URL_PROTO}github.com${URL_SEP}ORNL-Fusion/SIESTA.git
master
parvmec
bmw)

# Register V3FIT
register_project(v3fit
${URL_PROTO}github.com${URL_SEP}cianciosa/V3FIT.git
# Register MAKEGRID
register_project(makegrid
${URL_PROTO}github.com${URL_SEP}ORNL-Fusion/MAKEGRID.git
master
siesta
v3rfun
lgrid)
libstell)

# Register SURFACE
register_project(surface
${URL_PROTO}github.com${URL_SEP}ORNL-Fusion/SURFACE.git
master
bmw)
# Register LIBSTELL
register_project(libstell
${URL_PROTO}github.com${URL_SEP}ORNL-Fusion/LIBSTELL.git
master)

0 comments on commit 6cea406

Please sign in to comment.