Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Build system overhaul: attoconf from python 2->3, add CMake
Merge request !280
|
|
Tests are not supported by the CMake project for now.
|
|
This way it also applies to all jobs.
|
|
This shouldn't affect the build, but it does make sure that these header
files are recognized as part of the project by IDEs.
Also removed 'strtest' from the list since there is no such directory.
|
|
In addition to item name.
Alternative to https://git.themanaworld.org/legacy/serverdata/-/merge_requests/808
|
|
This tag should reside within <head> tag. Placing it before head
seems to de-facto work, but technically appears to be bug.
Reported-by: lilly
****
|
|
|
|
|
|
|
|
|
|
|
|
|
|
as it was not possible to store a string variable with the current
format of the athena.txt I though a hash could help to identify the maps
since this one can be stored as a permanent char bound variable in
athena.txt
|
|
|
|
Try to be even more helpful, since configuration can vary.
|
|
This prints out the filename and what it tried to do, rather than raising
SIGABRT and silently dumping a core.
|
|
Note this is not yet updated to reflect the availability of cmake.
|
|
|
|
-fvar-tracking and -fvar-tracking-assignments are enabled by default when
available, so are not explicitly set here.
|
|
|
|
|
|
****
Approved-by: Free Yorp <thefreeyorp+git@gmail.com>
Approved-by: Thorbjørn Lindeijer <bjorn@lindeijer.nl>
Reviewed-by: Thorbjørn Lindeijer <bjorn@lindeijer.nl>
|
|
Artifacts of the same name from different runs can overwrite each other.
This makes sure that tests of the cmake pipeline actually test the cmake
artifacts, and similarly for attoconf.
|
|
Previously, only ../conf style includes were excluded from expecting a fwd.hpp
file to be provided for the directory. Permit src/conf style includes too.
|
|
How did this ever work before? Did it expect there to be a previously
installed libtmwa-shared.so and run tests against that, rather than what
was just built?
|
|
This allows files that already exist to be specified relative to SRC_DIR,
rather than just relative to the current file.
This is used in tests, though it appears not to be used in main tmwa.
|
|
|
|
The default value for GTEST_DIR should be deps/googletest/googletest under
the source directory, not under the build directory. The build directory
will often not have anything in it at all in the case of an out-of-tree
build.
This allows some tests to run for out-of-tree builds.
|
|
Also, just require the use of full paths when #including a generated file.
This fixes fresh out-of-tree builds using attoconf, and gets rid of a lot of
annoying terminal output when attoconf is tracing dependencies.
|
|
I appreciate and respect how densely packed Makefile code can be.
hahahaahahahaaa
|
|
|
|
This should be reverted once we drop support for Ubuntu 18.04, and therefore
python3.6, as it does clutter up the code a bit.
Sourced from specing's work on the porting process.
See https://git.themanaworld.org/legacy/tmwa/-/merge_requests/256
|
|
- unicode -> str
- u'' -> ''
- cStringIO -> io
Sourced from specing's work on the porting process.
See https://git.themanaworld.org/legacy/tmwa/-/merge_requests/256
|
|
|
|
|
|
|
|
|
|
|
|
- Correctly handle files in subdirectories in out-of-tree builds
- Handle UTF-8 properly
- Close file resources properly
|
|
|
|
|
|
If we want to be able to filter specific other entries, such as for the sake
of more generated files, we'll want to be doing this over a list that has
already been made relative and simplified.
|
|
A little indentation and formatting, and quite a lot of commenting,
goes a long way.
This doesn't change any code, it only reformats it.
|
|
|
|
|
|
|
|
|
|
Or more specifically, in the attoconf buildchain. attoconf itself directly
generates src/conf/install.hpp alongside Makefile, but version inforation
is only available later.
To generate version.hpp, I extended version.mk slightly to provide the recipe.
It's not anywhere near as generic as real.make tends to be, but with any luck
we'll soon be doing all builds through cmake going forward.
The template for install.hpp has been changed to use variables actually
provided by attoconf. PACKAGE{SYSCONF,LOCALSTATE}DIR are actually only defined
in real.make, and then only in terms of SYSCONFDIR and LOCALSTATEDIR, adding
`/tmwa`. It's simpler to just use the attoconf variable and adjust the
template, which conveniently also simplifies the construction in
CMakeLists.txt, too.
|
|
|