On Mon, Jan 19, 2009 at 1:59 AM, Kermit Mei <kermit....@gmail.com> wrote:
> Hello, I create my project in the directory ~/project. > > And then, I build it in ~/project/build as the following: > > cd ~/project > mkdir build > cd build > cmake -DCMAKE_INSTALL_PREFIX=/usr .. > make > sudo make install > > So far, everything of my program works well. > > But, if I delete the files under ~/project/build/*, > My program will come back to the last version. > > Why? Is it possible you're setting your PATH environment variable to include ~/project/build or something like that so by removing it the system is falling back on /usr/bin? Try running "which your_program_name" before and after removing ~/project/build/*. -- Philip Lowman
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake