Jump to ID:
Core Development Tools

Project Home

Documents

Source Code

Discussions

Wiki

Project Info
Forum Topic - Precompiled headers in Momentics: Page 1 of 6 (6 Items)
   
 
 
Precompiled headers in Momentics  
I am having problems setting up precompiled headers in my project in Momentics.

Ex.
I have a file Precompiled.h which has lets say a few includes

#include  <math.h>
...
...

Then I have Precompiled.cpp which only has one line of code:

#include "Precompiled.h"



In each of my cpp files I have added as the first line:

#include "Precompiled.h"
.
.


In the IDE I added the following compiler option:

-x -cPrecompiled.h

None of my code in the cpps finds the math routines included in the precompiled headers.

Is there something I am missing?