File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -157,13 +157,14 @@ def generate_cmake_files(root_dir, atelier):
157157
158158 # Generate sub CMakeLists.txt for each sub-directory in the TRUST sources:
159159 #
160- for d in listdirorg :
161- d_short = short_path (root_dir , d )
162- cmake_fnam = os .path .join (d , 'CMakeLists.txt' )
163- with open (cmake_fnam , "w" ) as f :
160+ if not atelier : # should not be done for baltiks, only for TRUST
161+ for d in listdirorg :
164162 d_short = short_path (root_dir , d )
165- s = generate_subdir_cmake (root_dir , d_short , cmake_fnam )
166- f .write (s )
163+ cmake_fnam = os .path .join (d , 'CMakeLists.txt' )
164+ with open (cmake_fnam , "w" ) as f :
165+ d_short = short_path (root_dir , d )
166+ s = generate_subdir_cmake (root_dir , d_short , cmake_fnam )
167+ f .write (s )
167168
168169 if atelier :
169170 out = open ('CMakeLists.txt.trust' ,'w' )
You can’t perform that action at this time.
0 commit comments