dfhack/library
Pauli c92b52537c Only run once codegen.pl and git-describe.cmake with make
ninja has a single build file which avoided issues if multiple targets
depend on same files. But Unix Makefiles generator user recursive make
which requires each ADD_CUSTOM_COMMAND to have only one target depending
on them.

Then makefile generator also has stupid rule that it touches all
secundary output files if primary file has been updated.

It was surprising hard to find a version that actually works correctly
for both issues. Solution is using BYPRODUCTS and refactoring command
and target dependencies.

As a bonus this change now allows build to work from source tarball if
the tarball includes git-describe.h.
2018-07-13 15:23:54 +03:00
..
DataStaticsFields Split DataStaticsFields into multiple compilation units 2016-03-22 17:34:25 -04:00
include Merge remote-tracking branch 'suokko/MapCache_reduce_latency_from_designation_to_jobs' into develop 2018-07-11 11:51:24 -04:00
lua Merge remote-tracking branch 'suokko/lua_printall_recurse' into develop 2018-07-06 14:25:35 -04:00
modules Merge remote-tracking branch 'suokko/MapCache_reduce_latency_from_designation_to_jobs' into develop 2018-07-11 11:51:24 -04:00
proto Remove execute permission on files that are not executables. 2018-07-03 15:37:16 -05:00
xml@e543429fac Update xml (dlsym vtables, dfhack/df-structures#282) 2018-07-10 13:01:54 -04:00
CMakeLists.txt Only run once codegen.pl and git-describe.cmake with make 2018-07-13 15:23:54 +03:00
ColorText.cpp Fix crash in vprinterr due to va_list misuse 2016-07-03 23:33:07 -04:00
Console-posix.cpp Fix crash when editing lines that are exactly console width 2018-07-09 16:12:39 +03:00
Console-windows.cpp Fix windows ReadConsoleInput return value check 2018-07-08 00:50:43 +03:00
Core.cpp Add support for DFHACK_BUILD_ID 2018-07-11 11:47:55 -04:00
DFHackVersion.cpp Add support for DFHACK_BUILD_ID 2018-07-11 11:47:55 -04:00
DataDefs.cpp Set last_item_value properly for complex enums 2018-04-09 16:11:47 -04:00
DataStatics.cpp Add support for primitive type fields in lua wrapper. 2012-03-20 13:56:29 +04:00
DataStaticsCtor.cpp Header changes/cleanup. 2011-12-31 12:48:42 +01:00
DataStaticsFields.cpp Lua API: add get_vector() and support for renaming class methods 2017-12-23 20:18:55 -05:00
Error.cpp Add function names to NullPointer and InvalidArgument exceptions 2018-05-11 09:49:27 -04:00
Hooks-darwin.cpp replacment -> replacement 2017-06-10 19:41:59 -04:00
Hooks-egg.cpp Fix bug #188, eggy hook 2013-04-24 17:50:34 +02:00
Hooks-linux.cpp headless: Disable sound, wgetch 2018-02-04 00:17:46 -05:00
Hooks-windows.cpp Add parameter type checks to printf style functions 2018-06-11 19:27:35 +03:00
LuaApi.cpp Add support for DFHACK_BUILD_ID 2018-07-11 11:47:55 -04:00
LuaTools.cpp Allow canceling lineedit with ctrl+c 2018-07-04 15:21:25 +03:00
LuaTypes.cpp Refactor DFHack exception classes 2018-02-05 19:18:35 -05:00
LuaWrapper.cpp Fix printf format warnings 2018-06-11 19:57:06 +03:00
MiscUtils.cpp Make df2console only call df2utf if the output stream is a console 2018-07-09 11:00:28 -04:00
PlugLoad-posix.cpp Support dlsym loading from libgraphics vtables 2018-07-10 17:08:23 +03:00
PlugLoad-windows.cpp Add windows emulation for RTLD_DEFAULT 2018-07-10 17:10:30 +03:00
PluginManager.cpp Convert Core.cpp to use c++11 thread 2018-06-22 17:57:37 +03:00
Process-darwin.cpp Fix some warnings on OS X 2018-05-12 18:46:58 -04:00
Process-linux.cpp Remove or comment out unused code. 2018-04-05 16:48:11 -05:00
Process-windows.cpp Fix RTTI in Win64 - offsets are relative to the current module (e.g. the DLL), so it needs to be looked up explicitly 2017-01-21 15:16:06 -06:00
RemoteClient.cpp Rename bind argument proto -> plugin to avoid confusion. 2018-07-03 16:00:48 -05:00
RemoteServer.cpp Add check-rpc.py for Travis. 2018-07-04 15:32:06 -05:00
RemoteTools.cpp Refactor CoreSuspender to fix Console::lineedit exit hangs 2018-06-22 17:57:37 +03:00
TileTypes.cpp Implement a MapCache api for writing base layer tiles of arbitrary stone. 2013-10-10 12:15:50 +04:00
Types.cpp Add Filesystem::listdir() 2015-01-28 19:15:58 -05:00
VTableInterpose.cpp Fix follow_jmp for 64-bit code - skip REX prefix if found 2016-09-25 18:29:57 -05:00
VersionInfoFactory.cpp Support dlsym loading from libgraphics vtables 2018-07-10 17:08:23 +03:00
binpatch.cpp Fix the error message produced by binpatch when a mismatch is detected. 2012-10-27 15:35:11 +04:00
dfhack-run.cpp Support calling a lua function via a protobuf request. 2014-02-10 20:09:06 +04:00
git-describe.cmake Only run once codegen.pl and git-describe.cmake with make 2018-07-13 15:23:54 +03:00