diff options
| author | TheBloke <devnull@localhost> | 2014-07-08 04:01:24 +0100 |
|---|---|---|
| committer | TheBloke <devnull@localhost> | 2014-07-08 04:01:24 +0100 |
| commit | 0046d8710e895a158b7e49678eae1514c5b7dc88 (patch) | |
| tree | f9988791315654f8d06d88f498bf619854ef5e89 /src/savegame.cpp | |
| parent | 2b5748003d2ae4de1b897041f92df3e0495b2825 (diff) | |
Compilation dependency tracking enabled for organizer, hook, bsaExtractor, shared
Previously, qmake did not detect when code was changed in the static libraries
So for example, changing code in shared/*.cpp and then Build, would not cause
a re-link and re-deploy of ModOrganizer.exe.
This has been fixed by adding PRE_TARGETDEPS references to each project that
depend on static libraries provided by other sub-projects.
These checks are conditional on debug|release, to point to the correct lib.
List of currently configured static library dependency checks -
organizer - mo_shared.lib, bsatk.lib
hookdll - mo_shared.lib, bsatk.lib
shared - bsatk.lib
bsaExtractor - bsatk.lib
I have tested to confirm that changing a shared file results in re-linking and
re-deplomyent of both ModOrganizer.exe and hook.dll.
Note that dependencies have not been configured for DLLs, as these are
loaded dynamically and so recompilation is not required.
But there could be an argument for configuring DLLs as dependencies too -
as if you make a change in DLL code, you might want all clients of the DLL to
be recompiled to check that they have not been broken by the changes?
The downside of that would be extra re-compilation every time.
Diffstat (limited to 'src/savegame.cpp')
0 files changed, 0 insertions, 0 deletions
