Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5376

CVI 2013 build steps actions problem

$
0
0

I think I've discovered (another) problem with compilation with external compilers.

If I define build actions, the output of build steps action AND the compiler itself is totally ignored.

To demonstrate the problem I've used the project I set up to demonstrate the problem with precompiled headers, and I've defined three trivial actions:

 

build actions

 

With internal CVI compiler the output is what I expect to see:

Build Status (demo_pch.prj - Release)
 Custom build actions:
  this is a custom build action
 Pre-build actions:
  this is a pre-build action
 demo_pch.c
 Link demo_pch.exe
 "d:\demo_pch\demo_pch.exe" successfully created.
 Post-build actions:
  this is a post-build action
Build succeeded.

If I switch to an external compiler (I tried with Clang and MS VC 9.0) all I get is this:

 

Build Status (demo_pch.prj - Release)
Build succeeded.

But it's even worse, if there is a bug in my source I get the very same output, hiding any error or warning in the compilation process.

 

Attached is the sample project, with a wanted bug in .c file.


Viewing all articles
Browse latest Browse all 5376

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>