News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Compile only project

Started by pichlerd, February 20, 2011, 10:30:07 PM

Previous topic - Next topic

pichlerd

I have a .cpp project where I need to compile it only into an .o file and I do not wish to attempt to link it into an executable file.  I have a post compiler script that needs to execute after a clean compile.  Any help would be appreciated. I am using the GNU GCC Compiler option.

- Thanks

Jenna

There are twopossible solutions I see:
1. right click on your cpp-files in the management pane, chose Properties, go to the Build tab and uncheck the
Link file checkbox,
2. make a copy of the Gnu gcc toolchain ("Settings -> Compiler and debugger -> Global compiler settings -> GNU GCC Compiler -> Copy"), remove the linker executable in the toolchain executables tab and use this compiler for your project.

pichlerd

Nice!  I tried the first option and it does exactly what I needed it to do.
-Thanks for the quick response!!!

:D