File tree 1 file changed +7
-6
lines changed
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):
157
157
158
158
# Generate sub CMakeLists.txt for each sub-directory in the TRUST sources:
159
159
#
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 :
164
162
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 )
167
168
168
169
if atelier :
169
170
out = open ('CMakeLists.txt.trust' ,'w' )
You can’t perform that action at this time.
0 commit comments