Commit graph

19 commits

Author SHA1 Message Date
e26c923811
cmake: Remove IN_SOURCETREE
config.h is always generated from config.h.in.cmake, so IN_SOURCETREE
did not provide any actual value.
2025-01-19 08:33:07 +01:00
ce433d14d2
cmake: Replace SOURCE_DIR with CMAKE_SOURCE_DIR
CMAKE_SOURCE_DIR already points to the directory for the top-level
CMakelists.txt [1], so SOURCE_DIR is redundant.

[1]: https://cmake.org/cmake/help/latest/variable/CMAKE_SOURCE_DIR.html
2025-01-19 08:19:23 +01:00
6fb613cc89
cmake: Do not install anything as DATA
Since the migration from SVN to Git, the data/ directory was put into a
separate repository, so that the engine repository should never install
anything there.
2024-12-31 06:14:07 +01:00
cf18241a16
cmake: Get SD_DATADIR from speed-dreams-data package
So far, the game assets were located in the same repository as the game
engine. Since data and engine are split into different repositories, now
this project requires users to assign the CMAKE_PREFIX_PATH variable [1]
to indicate the location, only in the case of non-standard locations.

[1]: https://cmake.org/cmake/help/latest/variable/CMAKE_PREFIX_PATH.html
2024-12-31 06:14:06 +01:00
38e0ab0584 Remove robot clones
Robot clones were shared library duplicates with a different name that
the game would rely on to perform different actions based on the car
category.

Not only this was a hacky solution, but it also involved around 50
extra libraries loaded into the game, which means higher resource
consumption and slower startup time, as well as making driver management
more difficult to the much higher of directories involved in
data/drivers/.

Now, only 1 shared library per robot is defined.


Former-commit-id: 4c5141000bc9b46363a16c0928e90b14f40a430a
Former-commit-id: 773f3d6987da3f6ef8e78e0f0276e2d4bf2b07f2
2024-12-25 07:38:02 +01:00
xavi92
4681971d6d Remove svn:keywords property from the repository
These properties are not transmitted with git-svn(1) [1], which might
then cause failed patches when modifying lines close to these
properties.


git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9554 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6ed21e1fe12d01a370842418c35722c75117a30a
Former-commit-id: 8ecd21b7c0211cd000b10b3f0032980f63c06398
2024-10-02 15:30:18 +00:00
xavi92
0e7a45d2be Remove $Id$
This SVN-specific keyword [1] did not expand as expected on Git
repositories migrated from SVN via git-svn(1) [2]. Because of this,
applying patches with modifications would sometimes fail because, even
if these lines were not modified, they could be part of the context
lines, thus heavily confusing Git.

Since it is already expected to migrate from SVN to Git sometime soon,
this would also make $Id$ redundant.

[1]: https://svnbook.red-bean.com/en/1.7/svn.advanced.props.special.keywords.html
[2]: https://git-scm.com/docs/git-svn


git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9550 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7acf9a9675a0496a85ecd61210b8c29c89f9517a
Former-commit-id: 1878bb38889e4dddc83ef762b6b384f0f0a4ecc5
2024-09-30 05:17:15 +00:00
xavi92
6d7ca06e02 String trailing whitespaces
The following shell script was used:

while read f
do
        sed -Ei 's/[[:space:]]+$//g' "$f"
done <<EOF
$(svn ls -R | grep \
        -e '.\cpp$' \
        -e '\.cmake$' \
        -e '\.txt$' \
        -e '\.cppcheck$' \
        -e '\.frag$' \
        -e '\.h$' \
        -e '\.hpp$' \
        -e '\.vert$' \
        -e '\.xml$' \
        -e '\.java$' \
        -e '\.c$')
EOF

As a side effect, this has also converted some files from CRLF line
endings to LF.

File extensions such as .ac or .osg were intentionally left out because
those usually are very large files generated by tools.



git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9507 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6c1e5ab34415982ec77fc92a77e1b1c149518eca
Former-commit-id: c6cf9480ae7c1d2f9a999eb6c6b976eef8bae3ba
2024-07-30 21:45:07 +00:00
beaglejoe
e459b96cc0 WIP for Build automation Ticket #1069
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7574 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 334b33415226ffeee7549f6205cf0bcf1bbc52b5
Former-commit-id: 5e5a5669e39daace115af8558b9e5abc8ee39e91
2021-06-16 16:18:54 +00:00
beaglejoe
179862189e Ticket #1021 wip
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6789 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1ae932c7f9e50efffa7174403b2cfc1ad1f938af
Former-commit-id: 56213313c02ad55fd2b53d4f33c85d7497c5dd47
2019-12-06 19:40:01 +00:00
beaglejoe
a986c0c356 Fix some CMake warnings #989 from Robert
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6751 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 8aa998a90af50fd1d51645f83ea53c72beae62be
Former-commit-id: 8ba420cff6888acac0afcf3474c03acfc8933dd2
2019-11-04 22:01:04 +00:00
beaglejoe
4894ef0424 Fix for Ticket #923
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6085 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: bd86e06f166d59cdb8c461fcd1723742656484b4
Former-commit-id: 797bb3e7bce5b91c67538031e24ba1854d7cfe20
2015-08-22 16:57:27 +00:00
beaglejoe
7c6174e9ff Fix MSVC linker settings for robots
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5388 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c95ee648c40deed027b0773a86ded2b14fa73cf7
Former-commit-id: 001d85a76304f0d971c11a50b293fac3d822981f
2013-04-03 15:14:05 +00:00
pouillot
67f7799da0 Re #58 Last fixes for MSVC 2005 and MinGW+MSYS side (TODO: check MinGW + QtCreator)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5358 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7e800883ef21db1a3972ea1a33e7b30d28254cbd
Former-commit-id: 8305189dec8c9fcbe51172de41cbed78d7c72e06
2013-03-24 14:12:45 +00:00
pouillot
f288dade73 Re #58 Last steps completed (works under Linux)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5349 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c4340c47cbe3d000186c1305c3505453bd7e0732
Former-commit-id: 600818482cc83f3dfbf26d34d93b52e15a4db5e8
2013-03-23 17:59:22 +00:00
pouillot
4b87f0aa3c Re #809 First draft of new robot interface and template implementation, for discussions
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5347 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f7a46a6ef2fabf3ea5a55a8812e2cb9799fcf7ed
Former-commit-id: 393a48f56c82ca3bc5cc4b2023e70fe724948075
2013-03-23 11:28:22 +00:00
pouillot
79bcbc487f Re #58 Fixed robot module clones no more installed after r5284
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5291 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: efd04ba16158cc67b099057687956e3508e438d1
Former-commit-id: b9977e6bac247b57e0c40b4b697a946435047611
2013-03-10 13:52:19 +00:00
pouillot
0547cc1aa7 Re #58 Fixed human and networkhuman Windows build after r5284
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5286 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 82aea9c50fe32301d80df64ea5062c12b0413c23
Former-commit-id: 0877ae583721d5f7fb93a397c57c8873a6729b61
2013-03-10 12:40:09 +00:00
pouillot
fd5ace6e31 Re #307 Split the big macros.cmake into several smaller and better readable files
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4943 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 97d27758fb627b375f108915683eecd782b9ac59
Former-commit-id: 80a7b425c51272694d4d9518aed18d732474b938
2012-09-14 18:39:40 +00:00