-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Use glob to handle models files - Move .3ds versions of models into models-extra directory for ease of use (install location remains the same)
- Loading branch information
Showing
31 changed files
with
14 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# SPDX-FileCopyrightText: Celestia Development Team | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
file(GLOB MODELS_EXTRA_SOURCES "*.3ds" "*.cmod" "*.cms" "*.png" "*.license") | ||
install(FILES ${MODELS_EXTRA_SOURCES} DESTINATION "${DATADIR}/models" COMPONENT models-extras EXCLUDE_FROM_ALL) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,81 +1,5 @@ | ||
# SPDX-FileCopyrightText: Celestia Development Team | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
set(MODELS_SOURCES | ||
amalthea.cmod | ||
arrokoth.cmod | ||
asteroid.cms | ||
atlas.cmod | ||
bacchus.cmod | ||
borrelly.cms | ||
calypso.cmod | ||
castalia.cmod | ||
daphnis.cmod | ||
deimos.cmod | ||
E0.png | ||
epimetheus.cmod | ||
eros.cmod | ||
gaspra.cmod | ||
geographos.cmod | ||
golevka.cmod | ||
halley.cmod | ||
helene.cmod | ||
hydra.cmod | ||
hyperion.cmod | ||
ida.cmod | ||
itokawa.cmod | ||
janus.cmod | ||
kleopatra.cmod | ||
ky26.cmod | ||
larissa.cmod | ||
MilkyWay.png | ||
mimas.cmod | ||
pan.cmod | ||
pandora.cmod | ||
phobos.cmod | ||
phoebe.cmod | ||
prometheus.cmod | ||
proteus.cmod | ||
puck.cmod | ||
roughsphere.cms | ||
S0.png | ||
Sa.png | ||
Sb.png | ||
SBa.png | ||
SBb.png | ||
SBc.png | ||
Sc.png | ||
telesto.cmod | ||
thebe.cmod | ||
toutatis.cmod | ||
vesta.cmod | ||
) | ||
|
||
set(MODELS_EXTRA_SOURCES | ||
amalthea.3ds | ||
bacchus.3ds | ||
castalia.3ds | ||
deimos.3ds | ||
epimetheus.3ds | ||
eros.3ds | ||
gaspra.3ds | ||
geographos.3ds | ||
golevka.3ds | ||
halley.3ds | ||
hyperion.3ds | ||
ida.3ds | ||
janus.3ds | ||
kleopatra.3ds | ||
ky26.3ds | ||
larissa.3ds | ||
pandora.3ds | ||
phobos.3ds | ||
phoebe.3ds | ||
prometheus.3ds | ||
proteus.3ds | ||
toutatis.3ds | ||
vesta.3ds | ||
) | ||
|
||
file(GLOB MODELS_SOURCES "*.3ds" "*.cmod" "*.cms" "*.png" "*.license") | ||
install(FILES ${MODELS_SOURCES} DESTINATION "${DATADIR}/models" COMPONENT core) | ||
install(FILES ${MODELS_EXTRA_SOURCES} DESTINATION "${DATADIR}/models" COMPONENT models-extras EXCLUDE_FROM_ALL) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# SPDX-FileCopyrightText: Celestia Development Team | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
file(GLOB HIRES_SOURCES "*.jpg" "*.png" "*.dds") | ||
file(GLOB HIRES_SOURCES "*.jpg" "*.png" "*.dds" "*.license") | ||
|
||
install(FILES ${HIRES_SOURCES} DESTINATION "${DATADIR}/textures/hires" COMPONENT core) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# SPDX-FileCopyrightText: Celestia Development Team | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
file(GLOB LORES_SOURCES "*.jpg" "*.png" "*.dds") | ||
file(GLOB LORES_SOURCES "*.jpg" "*.png" "*.dds" "*.license") | ||
|
||
install(FILES ${LORES_SOURCES} DESTINATION "${DATADIR}/textures/lores" COMPONENT core) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# SPDX-FileCopyrightText: Celestia Development Team | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
file(GLOB MEDRES_SOURCES "*.jpg" "*.png" "*.dds") | ||
file(GLOB MEDRES_SOURCES "*.jpg" "*.png" "*.dds" "*.license") | ||
|
||
install(FILES ${MEDRES_SOURCES} DESTINATION "${DATADIR}/textures/medres" COMPONENT core) |