Hello Cmake crew,
attached to the email is the patch for VC++ 7.x generator which
adds proper(?) support for precompiled headers to generated
.vcproj files.
Usage is pretty straightforward:
# Create a library called "Hello" which includes the source file "hello.cxx".
# The extension is already found. Any number of sources could be listed here.
add_library (Hello hello.cxx hello.h stdafx.cpp stdafx.h)
SET_TARGET_PROPERTIES(Hello PROPERTIES COMPILE_FLAGS "/Yu")
SET_SOURCE_FILES_PROPERTIES(stdafx.cpp COMPILE_FLAGS "/Yc")
All comments and corrections are welcome. :)
--
Best regards,
speedy mailto:[EMAIL PROTECTED]
cmake-2.4.2-precompiled_headers.diff
Description: Binary data
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
