File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -109,15 +109,15 @@ def progen_get_project_data(self):
109
109
}
110
110
return project_data
111
111
112
- def progen_gen_file (self , tool_name , project_data , pgen_build = False ):
112
+ def progen_gen_file (self , tool_name , project_data , progen_build = False ):
113
113
"""" Generate project using ProGen Project API """
114
114
settings = ProjectSettings ()
115
115
project = Project (self .program_name , [project_data ], settings )
116
116
# TODO: Fix this, the inc_dirs are not valid (our scripts copy files), therefore progen
117
117
# thinks it is not dict but a file, and adds them to workspace.
118
118
project .project ['common' ]['include_paths' ] = self .resources .inc_dirs
119
119
project .generate (tool_name , copied = not self .sources_relative )
120
- if pgen_build :
120
+ if progen_build :
121
121
print ("Project exported, building..." )
122
122
result = project .build (tool_name )
123
123
if result == - 1 :
You can’t perform that action at this time.
0 commit comments