Giter Site home page Giter Site logo

Comments (4)

15knots avatar 15knots commented on August 22, 2024

Yes, this is known behavior, but I could not find a way to stop CDT from running rm -rf.
But it does not harm:

  • on windows, because it always will fail due to the lag of the rm command.
  • on linux, since it tries to invoke rm without any file name argument, which will make rm fail.

from cmake4eclipse.

nolange avatar nolange commented on August 22, 2024

Well,on Linux, if I happen to have a directory uit_mon in whatever directory rm is executed, then its gone.
On Windows, I cant build either, because eclipse tries to do a clean first if the build directory is not configured.

So Id consider this problematic

from cmake4eclipse.

15knots avatar 15knots commented on August 22, 2024

rm -rf on linux does nothing. So no problem here.
On Windows, why does your eclipse try to do a clean first before build?

from cmake4eclipse.

nolange avatar nolange commented on August 22, 2024

CDT does a clean before a build (on Linux and Windows), if the directory is missing. Check with the attached project, see the content of my build console. The why is something I hope you can figure out.

14:05:41 **** Clean-only build of configuration Release for project uit_mon ****
rm -rf src/main.d src/main.o uit_mon 

14:05:41 Build Finished (took 77ms)

from cmake4eclipse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.