question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Export - destination dir should no be root of the project?

See original GitHub issue

This causes an issues, if project is exported to 2 various toolchains.

How to reproduce

# dir
/project
# export
neo export -t target -i IDE
# the exported project is in the root , for instance ./Makefile is here
# make will create build directory
make

# export to another toolchain
neo export -t target -i IDE2
# build now the project for different IDE
# this build can fail

A proposal can be that export dir is not root, could be a directory. And for each IDE, there should be separate directory, so they don’t build into one folder.

The exported dir could look like:

exported/Makefile/
exported/uvision/
exported/iar/

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Apr 13, 2016

On 12 Apr 2016, at 23:16, Mihail Stoyanov notifications@github.com wrote:

Agreed but what are the chances that someone will use multiple toolchains? Think this is similar to someone using more than 2 targets.

Given that we do:

  1. Aspire to support multiple toolchains.
  2. Already support many targets.

It is not unreasonable to expect that every developer in mbed-os will need convenient support for both multiple toolchains and multiple targets.

Also do you think it’s logical/convenient to have the IDE project files in a subdirectory rather than the root of the project?

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

0reactions
screamerbgcommented, Apr 21, 2016

Please close this issue when your PR is accepted.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python - Get path of root project structure - Stack Overflow
Consider the following directory structure where all files except README.md and utils.py ... imports must be relative, # not from the root of...
Read more >
How to import files from outside of root directory with React ...
A simple solution could be to create a symlink inside the root directory but metro bundler doesn't support symlink. So we're going to...
Read more >
Configuring Project Structure | PyCharm Documentation
Within a content root, PyCharm can distinguish between the folders that contain source code, and the ones to be ignored while searching, parsing,...
Read more >
Change the build output directory - Visual Studio (Windows)
Type in the path to generate output to (absolute or relative to the root project directory), or choose Browse to browse to that...
Read more >
RStudio Projects and Working Directories: A Beginner's Guide
When your RStudio session is running through the project file (.Rproj), the current working directory points to the root folder where that ....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found