Skip to content

Commit

Permalink
exclude non-64-bit-modules from 64 bit builds
Browse files Browse the repository at this point in the history
  • Loading branch information
n7275 committed Jan 3, 2024
1 parent e64484d commit fed5c31
Show file tree
Hide file tree
Showing 9 changed files with 52 additions and 6 deletions.
2 changes: 2 additions & 0 deletions Src/Celbody/Ariel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ set_target_properties(${CELBODY}
FOLDER Celbody
)

if(NOT CMAKE_CL_64) #remove me when this celbody has source code that can be built
# Installation
install(PROGRAMS
${CELBODY}.dll
Expand All @@ -36,3 +37,4 @@ install(PROGRAMS
install(DIRECTORY Config
DESTINATION ${ORBITER_INSTALL_ROOT_DIR}
)
endif()
3 changes: 2 additions & 1 deletion Src/Celbody/Deimos/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ set_target_properties(${CELBODY}
PROPERTIES
FOLDER Celbody
)

if(NOT CMAKE_CL_64) #remove me when this celbody has source code that can be built
# Installation
install(PROGRAMS
${CELBODY}.dll
Expand All @@ -36,3 +36,4 @@ install(PROGRAMS
install(DIRECTORY Config
DESTINATION ${ORBITER_INSTALL_ROOT_DIR}
)
endif()
2 changes: 2 additions & 0 deletions Src/Celbody/Miranda/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ set_target_properties(${CELBODY}
FOLDER Celbody
)

if(NOT CMAKE_CL_64) #remove me when this celbody has source code that can be built
# Installation
install(PROGRAMS
${CELBODY}.dll
Expand All @@ -36,3 +37,4 @@ install(PROGRAMS
install(DIRECTORY Config
DESTINATION ${ORBITER_INSTALL_ROOT_DIR}
)
endif()
3 changes: 2 additions & 1 deletion Src/Celbody/Oberon/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ set_target_properties(${CELBODY}
PROPERTIES
FOLDER Celbody
)

if(NOT CMAKE_CL_64) #remove me when this celbody has source code that can be built
#Installation
install(PROGRAMS
${CELBODY}.dll
Expand All @@ -36,3 +36,4 @@ install(PROGRAMS
install(DIRECTORY Config
DESTINATION ${ORBITER_INSTALL_ROOT_DIR}
)
endif()
3 changes: 2 additions & 1 deletion Src/Celbody/Phobos/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ set_target_properties(${CELBODY}
PROPERTIES
FOLDER Celbody
)

if(NOT CMAKE_CL_64) #remove me when this celbody has source code that can be built
# Installation
install(PROGRAMS
${CELBODY}.dll
Expand All @@ -36,3 +36,4 @@ install(PROGRAMS
install(DIRECTORY Config
DESTINATION ${ORBITER_INSTALL_ROOT_DIR}
)
endif()
36 changes: 36 additions & 0 deletions Src/Celbody/Sol/Config/Sol64.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
; === Configuration file for solar system ===
Name = Sol

Star1 = Sun
Planet1 = Mercury
Planet2 = Venus
Planet3 = Earth
Earth:Moon1 = Moon
Planet4 = Mars
;Mars:Moon1 = Phobos
;Mars:Moon2 = Deimos
Planet5 = Vesta
Planet6 = Jupiter
Jupiter:Moon1 = Io
Jupiter:Moon2 = Europa
Jupiter:Moon3 = Ganymede
Jupiter:Moon4 = Callisto
Planet7 = Saturn
Saturn:Moon1 = Mimas
Saturn:Moon2 = Enceladus
Saturn:Moon3 = Tethys
Saturn:Moon4 = Dione
Saturn:Moon5 = Rhea
Saturn:Moon6 = Titan
Saturn:Moon7 = Hyperion
Saturn:Moon8 = Iapetus
Planet8 = Uranus
;Uranus:Moon1 = Miranda
;Uranus:Moon2 = Ariel
;Uranus:Moon3 = Umbriel
;Uranus:Moon4 = Titania
;Uranus:Moon5 = Oberon
Planet9 = Neptune
;Neptune:Moon1 = Triton
Neptune:Moon2 = Proteus
Neptune:Moon3 = Nereid
3 changes: 2 additions & 1 deletion Src/Celbody/Titania/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ set_target_properties(${CELBODY}
PROPERTIES
FOLDER Celbody
)

if(NOT CMAKE_CL_64) #remove me when this celbody has source code that can be built
# Installation
install(PROGRAMS
${CELBODY}.dll
Expand All @@ -36,3 +36,4 @@ install(PROGRAMS
install(DIRECTORY Config
DESTINATION ${ORBITER_INSTALL_ROOT_DIR}
)
endif()
3 changes: 2 additions & 1 deletion Src/Celbody/Triton/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ set_target_properties(${CELBODY}
PROPERTIES
FOLDER Celbody
)

if(NOT CMAKE_CL_64) #remove me when this celbody has source code that can be built
# Installation
install(PROGRAMS
${CELBODY}.dll
Expand All @@ -36,3 +36,4 @@ install(PROGRAMS
install(DIRECTORY Config
DESTINATION ${ORBITER_INSTALL_ROOT_DIR}
)
endif()
3 changes: 2 additions & 1 deletion Src/Celbody/Umbriel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ set_target_properties(${CELBODY}
PROPERTIES
FOLDER Celbody
)

if(NOT CMAKE_CL_64) #remove me when this celbody has source code that can be built
# Installation
install(PROGRAMS
${CELBODY}.dll
Expand All @@ -36,3 +36,4 @@ install(PROGRAMS
install(DIRECTORY Config
DESTINATION ${ORBITER_INSTALL_ROOT_DIR}
)
endif()

0 comments on commit fed5c31

Please sign in to comment.