From 80cecbfcfbf97a48398b3d0765cd5e45d014d47a Mon Sep 17 00:00:00 2001 From: Martin Kojtal Date: Tue, 19 Apr 2016 14:55:38 +0100 Subject: [PATCH] Exporters - if source, generate to projectfiles/{{ide}} This allows to use multiple tools within a project, they don't affect each other. An example: projectfiles/gcc_arm projectfiles/uvision projectfiles/iar --- tools/project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/project.py b/tools/project.py index 1f7f4bf2e2..f4098862b0 100644 --- a/tools/project.py +++ b/tools/project.py @@ -148,7 +148,7 @@ if __name__ == '__main__': # --source is used to generate IDE files to toolchain directly in the source tree and doesn't generate zip file project_dir = options.source_dir project_name = basename(project_dir) - project_temp = options.source_dir + project_temp = path.join(options.source_dir, 'projectfiles', ide) mkdir(project_temp) lib_symbols = [] if options.macros: