UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor m.walz
Visitor
437 Views
Registered: ‎02-08-2018

Build all configurations in SDK TCL

Hey Guys,

perhaps somebody can help me: I have one FPGA project and one SDK application. But I have various configurations in SDK to differentiate functionalities. (Not only Debug and Release, but also Conf01, Conf02 etc).


The whole project is TCL scripted. In older versions of SDK, "sdk build_project -type all" triggered SDK to build all configurations (Debug, Release and everything else). In newer SDK versions, "projects -build" triggers only the current selected configuration to be built (Debug in most cases).

Does somebody know an easy way to trigger a build of all configurations in all projects?

1 Reply
Moderator
Moderator
405 Views
Registered: ‎09-12-2007

Re: Build all configurations in SDK TCL

You can set the optimization from the command line.
See configapp
https://www.xilinx.com/support/documentation/sw_manuals/xilinx2017_4/ug1208-xsct-reference-guide.pdf

For example:
configapp -app test_app -set compiler-optimization -O0
0 Kudos