Giter Site home page Giter Site logo

Comments (5)

15knots avatar 15knots commented on August 22, 2024

Am Donnerstag, 4. Juni 2015, 12:45:05 schrieb arette:

The default of putting build_scripts under build/ is a
poor choice: you're assuming the name of my Eclipse project corresponds to
some actual location on my filesystem (which, in my case, it does not). My
Eclipse project is named AE3007C2, but the root is at AE3007/C2. I would

The plugin actually puts build scripts under
<project_location>/build/, where project_location expands
to the absolute filesystem path of the project.

request that cmake4eclipse honor the Eclipse build directory instead of the

Please clarify 'Eclipse build directory'.

There is a field in the projects properties dialog named 'Build directory'.
You may have noticed that this field is not editable if
C/C++ Build| Builder Settings| Generate Makefiles automatically
is unchecked.
If you uncheck that, neither CDT makefile generation nor the plugin�s
buildscript generation will happen; CDT expects You to provide the build
scripts yourself.

from cmake4eclipse.

arette avatar arette commented on August 22, 2024

based on your description, it may be that this feature request would also require modification to Eclipse itself. Nonetheless, I desire the ability to specify to cmake4eclipse (and Eclipse for that matter) where my build directory is rather than being forced to use <project_location>/build/.

from cmake4eclipse.

15knots avatar 15knots commented on August 22, 2024

Am Dienstag, 9. Juni 2015, 12:47:40 schrieb arette:

based on your description, it may be that this feature request would also
require modification to Eclipse itself. Nonetheless, I desire the ability
to specify to cmake4eclipse (and Eclipse for that matter) where my build
directory is rather than being forced to use
<project_location>/build/.

cmake4eclipse currently enforces a hard-coded location of the build directory
relative to the eclipse project location on disk (CDT does so, too).

It would be possible to change the hard-coded default add an extra input field
in the UI to a project-relative folder to use as the build directory. But for
users it might be confusing to have two different input fields for the
directory.
That folder might be a linked folder, which can point to a filesystem
location outside of the project�s fs location (I guess that�s your use case:
Sources on NFS/CIFS, generated/object files on local disk?).

Cd wrttn wtht vwls s mch trsr.

from cmake4eclipse.

arette avatar arette commented on August 22, 2024

no, all of my sources are local. I just don't like being told that things MUST go in folder called 'build'. I would like to be able to specify a different directory name (still ok if it's relative to project dir), e.g. 'win32'. So, in that case, the plug-in would use <project_location>/win32/. Make sense?

from cmake4eclipse.

15knots avatar 15knots commented on August 22, 2024

CDT managed build does not allow the user to change the build location, must be fixed in CDT.

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.