Build on windows does not discover changed source files
Bug #1334117 reported by
Tino
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Medium
|
Unassigned |
Bug Description
It seems the current cmake configuration does not always grab the correct revision number and source files.
Steps to reproduce:
- bzr pull (source code rev7010 -> 7013)
- ninja (does run cmake, compiles and links)
Now in build_info.cc contains the correct entries:
static const std::string wl_bid = "bzr7013[trunk]";
static const std::string wl_bt = "Release";
The timestamp of this file is 8:16, widelands.exe has the timestamp 8:24.
If i run widelands it displays "Widelands bzr 7010[trunk]
Another ninja call grabs now many new files to compile.
After this, widelands.exe has the current revision.
Changed in widelands: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I see that too. Two ideas: one, the configure_file() call does not seem to check if its output is there or its input has changed, so that could be it. two, detecting the bzr revision has no 'input files' defined, so make does not know when to rerun it.