AlloSphere-Research-Group / AlloSystem

AlloSystem is a cross-platform suite of C++ components for building interactive multimedia tools and applications.
http://mat.ucsb.edu/allosphere/software.php
BSD 3-Clause "New" or "Revised" License
65 stars 22 forks source link

unnecessary (?) allocore rebuild with run.sh #39

Closed LancePutnam closed 9 years ago

LancePutnam commented 9 years ago

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...]

mantaraya36 commented 9 years ago

Not really sure why cmake is forcing a rebuild in this case...

I would close as "won't fix" ...

mantaraya36 commented 9 years ago

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?