I have the following as part of my CMakeLists.txt file:
CONFIGURE_FILE(${MXADataModel_SOURCE_DIR}/src/Headers/MXAConfiguration.h.in
${PROJECT_BINARY_DIR}/MXAConfiguration.h @ONLY IMMEDIATE)
INCLUDE_DIRECTORIES("${PROJECT_BINARY_DIR}")
And in a source file I then have:
#include <MXAConfiguration.h>
And when VS2003,Net tries to compile I get a warning that
MXAConfiguration.h: No such file or directory. I have verified that
the file gets generated and is in the proper location. I looked at the
project properties in VS and my build directory is in fact NOT part of
the include paths. What gives? This works fine on OS X/Linux? Is there
something special I need to do for Windows?
Thanks for any help
--
Mike Jackson
imikejackson _at_ gee-mail dot com
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake