I want compile it from sources bacause I ant prepare it do not rebuild
all after git commits.
Make has one big disadvatage: after git commit of project, whole
project is rebuild.
You may be barking up the wrong tree here: To force Make to rebuild
the whole kit and caboodle, GIT seeems to change the modification
timestamps of the files. It cannot be solved by changing Make.
I can't see make list on https://lists.gnu.org/mailman/listinfo
I have download make source tarball and if I try compile I have error: glob/libglob.a(glob.o): In function `glob': /home/user/Downloads/make-4.2/glob/glob.c:581: undefined reference to `__alloca' glob/libglob.a(glob.o):/home/user/Downloads/make-4.2/glob/glob.c:732:
more undefined references to `__alloca' follow
I want compile it from sources bacause I ant prepare it do not rebuild
all after git commits.
Make has one big disadvatage: after git commit of project, whole project
is rebuild.
W dniu 05.12.2018 o 18:37, Tauno Voipio pisze:
I want compile it from sources bacause I ant prepare it do not
rebuild all after git commits.
Make has one big disadvatage: after git commit of project, whole
project is rebuild.
You may be barking up the wrong tree here: To force Make to rebuild
the whole kit and caboodle, GIT seeems to change the modification
timestamps of the files. It cannot be solved by changing Make.
I think, git not changes timestamps of my *.cpp files on commit, only on checkout (if I change branch)
Make looks to .git directory and timestamp of any git file is changed.
If I previously use ninja, no any *.cpp file was changes, buf "explain"
give me
EXPLAIN("recorded mtime of %s older than most recent input %s (%d vs
%d)"...
and
EXPLAIN("command line changed for %s", output->path().c_str());
if I comment this, only changed *.cpp file was build
W dniu 05.12.2018 o 18:37, Tauno Voipio pisze:
I want compile it from sources bacause I ant prepare it do not
rebuild all after git commits.
Make has one big disadvatage: after git commit of project, whole
project is rebuild.
You may be barking up the wrong tree here: To force Make to rebuild
the whole kit and caboodle, GIT seeems to change the modification
timestamps of the files. It cannot be solved by changing Make.
I think, git not changes timestamps of my *.cpp files on commit, only
on checkout (if I change branch)
Your makefile is bad, if it looks at or into .git directory.
Make should use timestamps of the dependencies only.
Your makefile is bad, if it looks at or into .git directory.
Make should use timestamps of the dependencies only.
W dniu 05.12.2018 o 19:21, Tauno Voipio pisze:
Your makefile is bad, if it looks at or into .git directory.
Make should use timestamps of the dependencies only.
because
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/user/projects/project_name
?
project_name contains .git and several directories: app, lib, test..
On 5.12.18 21:28, Borneq wrote:
W dniu 05.12.2018 o 19:21, Tauno Voipio pisze:
Your makefile is bad, if it looks at or into .git directory.
Make should use timestamps of the dependencies only.
because
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/user/projects/project_name
?
project_name contains .git and several directories: app, lib, test..
You did ask about GNU Make, which is NOT CMake.
Please do not change the target during discussion.
Try again with the real thing.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 399 |
Nodes: | 16 (2 / 14) |
Uptime: | 69:24:26 |
Calls: | 8,355 |
Files: | 13,159 |
Messages: | 5,894,980 |