Skip to content

Commit

Permalink
[HOTFIX] Fix Createcmakefile.py to allow other users building baltiks
Browse files Browse the repository at this point in the history
  • Loading branch information
trust-tma committed Jun 10, 2024
1 parent 04cbc9c commit 5154e6f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions bin/KSH/Createcmakefile.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,13 +157,14 @@ def generate_cmake_files(root_dir, atelier):

# Generate sub CMakeLists.txt for each sub-directory in the TRUST sources:
#
for d in listdirorg:
d_short = short_path(root_dir, d)
cmake_fnam = os.path.join(d, 'CMakeLists.txt')
with open(cmake_fnam, "w") as f:
if not atelier: # should not be done for baltiks, only for TRUST
for d in listdirorg:
d_short = short_path(root_dir, d)
s = generate_subdir_cmake(root_dir, d_short, cmake_fnam)
f.write(s)
cmake_fnam = os.path.join(d, 'CMakeLists.txt')
with open(cmake_fnam, "w") as f:
d_short = short_path(root_dir, d)
s = generate_subdir_cmake(root_dir, d_short, cmake_fnam)
f.write(s)

if atelier:
out = open('CMakeLists.txt.trust','w')
Expand Down

0 comments on commit 5154e6f

Please sign in to comment.