Browse Source

Merge 0355503d45 into c0a92acd45

pull/9/merge
Taras Zaporozhets 3 years ago
committed by GitHub
parent
commit
b8293a2255
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      scripts/write_project_tcl_git.tcl

+ 3
- 2
scripts/write_project_tcl_git.tcl View File

@ -809,8 +809,9 @@ proc add_references { sub_design } {
write_bd_as_proc $file
} else {
# Skip adding file if it's already part of the project
lappend l_script_data "if { \[get_files [file tail $file]\] == \"\" } {"
lappend l_script_data " import_files -quiet -fileset [current_fileset -srcset] $file\n}"
set rel_file_path "[get_relative_file_path_for_source $file [get_script_execution_dir]]"
lappend l_script_data "if { \[get_files [file tail $rel_file_path]\] == \"\" } {"
lappend l_script_data " import_files -quiet -fileset [current_fileset -srcset] $rel_file_path\n}"
}
}
}


Loading…
Cancel
Save