15knots / cmake4eclipse

Let Eclipse use CMake to generate the buildscripts for Eclipse CDT
Eclipse Public License 2.0
85 stars 25 forks source link

Sometimes after a clean, software is build in root project #204

Open dradoudine opened 4 months ago

dradoudine commented 4 months ago

If you have any question, please consult the mailing list first before you raise issues here.

Describe the bug image WHen I don't set an output folder, il *create a _build folder where build is made. Sometimes (it's aleatory), build is made on root project and I have to clean manually To Reproduce Steps to reproduce the behavior:

  1. Clean
  2. Build (this is quiet aleatory but after 1 day of work I see it often

Expected behavior build file shall be in _build folder

Screenshots If applicable, add screenshots to help explain your problem.

Useful Information

What is in Eclipse's Error Log?

Sanitized stack traces:

Additional context Add any other context about the problem here.

15knots commented 4 months ago

Sometimes (it's aleatory), build is made on root project and I have to clean manually To Reproduce Steps to reproduce the behavior:

1. Clean

What exactly does Clean mean here? Did you delete the _build folder or did you run the clean target?

dradoudine commented 4 months ago

it's the target clean of my cmake file

dradoudine commented 4 months ago

it seems this problems occurs when Build output location field is set to empty (by default it create _build folder, so in case of empty field, it should be set by default to a value)

15knots commented 2 months ago

@dradoudine I agree, creating a default _build folder when the output location field is empty is confusing to users. This has been fixed now.