Skip to content

Commit 80cecbf

Browse files
committed
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
1 parent 647cf23 commit 80cecbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
# --source is used to generate IDE files to toolchain directly in the source tree and doesn't generate zip file
149149
project_dir = options.source_dir
150150
project_name = basename(project_dir)
151-
project_temp = options.source_dir
151+
project_temp = path.join(options.source_dir, 'projectfiles', ide)
152152
mkdir(project_temp)
153153
lib_symbols = []
154154
if options.macros:

0 commit comments

Comments
 (0)