2025-07-06 09:28 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000967Spring engineLinuxpublic2008-07-04 22:20
Reportersombriks 
Assigned ToAuswaschbar 
PrioritynormalSeverityfeatureReproducibilityalways
StatusresolvedResolutionfixed 
Product Version0.76b1+svn 
Target VersionFixed in Version 
Summary0000967: cleaning...
Descriptionwe could have 2 minor changes into the build system?

1- remove from rts/CMakeLists.txt the following lines:

cmake_minimum_required(VERSION 2.6)
PROJECT(Spring)

because it's defined inside the root CMakeLists.txt.

2- change

install (DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/spring/ DESTINATION /opt/spring PATTERN ".svn" EXCLUDE)

to

install (DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/spring/ DESTINATION ${CMAKE_INSTALL_PREFIX} PATTERN ".svn" EXCLUDE)

and also do some SET(CMAKE_INSTALL_PREFIX /usr/local/games), so we could have on unixes-like a well-know (nothing bad with /opt, it's just me, heh) location for games;

Additional Informationif i remember /usr/games and /usr/local/games are present in regular $PATH incarnations along various Linux and bsd's; i will try to realize some nice way to do the install part, and check if CMake supports DESTIR redirections; then i hope that play with cmake becomes the minor part of the problem and finally trust 100%+ him, (still try scons whe something goes wrong with cmake...)
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0002367

Auswaschbar (reporter)

1st:
I have some more code duplications in the CMake-files, basically to make it possible to build spring with only /rts/. And I would like to keep it like this until someone rearranges the directory structure (to seperate engine and related stuff from lobbies, TASServer, mapper tools etc.).

2nd:
Right, it should be configurable at compile-time, so I will change it to CMAKE_INSTALL_PREFIX. But it seemed a good idea to me to install all base-stuff into one directory, to make it easy to have multiple versions installed (olders for replays, current for playing, svn for developement).

~0002368

sombriks (reporter)

hello again!

you're right, seems a good idea keep the option to only build /rts.

and it isn't a good idea, it's a very good idea, hehehehe! i can't lose some replays that i have, like Kixu and others pwning and pushing and winning in less than 10 minutes yet another DSD 6x6 game, or the game where Aether said "I gave you the chance to surrender, now feel my power" just before your lsat kbot die.

unlike you, my first contact with spring is just from 0.76b1 ~ now; earlier contacts was many years ago, the game seemed just a 3D-mod of TA; much different from now.

cmake subsystem seems good enough do do packages and installations, i have 3 or 4 machines (but all AMD+Nvidia, thare's no intel or ATI...) and soon i will try svn multiplayer; unfortunately i think that unitsync changed from 0.76b1 to now, i will need to connect using the command line, :)

~0002384

Auswaschbar (reporter)

Resolved.
+Notes

-Issue History
Date Modified Username Field Change
2008-06-25 20:46 sombriks New Issue
2008-06-25 21:07 Auswaschbar Note Added: 0002367
2008-06-26 02:26 sombriks Note Added: 0002368
2008-07-04 22:20 Auswaschbar Status new => resolved
2008-07-04 22:20 Auswaschbar Resolution open => fixed
2008-07-04 22:20 Auswaschbar Assigned To => Auswaschbar
2008-07-04 22:20 Auswaschbar Note Added: 0002384
+Issue History