Skip to content

Commit

Permalink
project will include C/CXX/ObjC source now!
Browse files Browse the repository at this point in the history
  • Loading branch information
recolic committed Sep 3, 2018
1 parent d228de2 commit 42d6a9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gen_tcl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ if [[ $1 == build ]]; then
# Copyright (C) Recolic Keghart <root@recolic.net>
open_project ${xpr}
`find ${proj_dir}/*.srcs -regex '^.*\.s?vh?$' -exec echo add_files \{\} \;`
`find ${proj_dir}/*.srcs -regex '^.*\.o?cc?p?p?x?x?$' -exec echo add_files \{\} \;`
set_property top ${top_mod} [current_fileset]
reset_run ${run_name_synth}
reset_run ${run_name_impl}
Expand All @@ -59,6 +60,7 @@ elif [[ $1 == gui ]]; then
proj_dir=`dirname ${xpr}`
echo "open_project ${xpr}
`find ${proj_dir}/*.srcs -regex '^.*\.s?vh?$' -exec echo add_files \{\} \;`
`find ${proj_dir}/*.srcs -regex '^.*\.o?cc?p?p?x?x?$' -exec echo add_files \{\} \;`
start_gui"
elif [[ $1 == init-project ]]; then
proj_name="$2"
Expand Down

0 comments on commit 42d6a9c

Please sign in to comment.