|
Sean Taylor
|
Precompiled headers in Momentics
|
|
Sean Taylor
03/30/2011 3:21 PM
post84431
|
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?
|
|
|
|
|