Closed LancePutnam closed 9 years ago
Not really sure why cmake is forcing a rebuild in this case...
I would close as "won't fix" ...
This is not a trivial fix (It would be hard to find out what is causing the rebuild), so I'll close it as the intended usage is one or the other (you shouldn't use make if you are using the run.sh script). Maybe because the run script is calling cmake itself this is what triggers the rebuild?
Building allocore without examples and then calling run.sh on an example causes allocore to be rebuilt. I would think the second build should not happen. Here is the sequence of commands:
$ ./distclean $ cmake . -DBUILD_EXAMPLES=0 $ make
[allocore builds...]
$ ./run.sh allocore/examples/graphics/shaderSprites.cpp
[allocore builds again...] [example builds and runs...]