I don't think so.
See:
function(add_msvc_precompiled_header target)
set(pchBinaryFile ${CMAKE_CURRENT_BINARY_DIR}/${target}_pch.pch)
* set_source_files_properties(${${${target}_PCH_SOURCE_VAR}} PROPERTIES*
* COMPILE_FLAGS "/Yc\"${${target}_PCH_HEADER_FILE}\"
/Fp\"${pchBinaryFile}\""*
* OBJECT_OUTPUTS ${pchBinaryFile}*
* )*
message(STATUS "[${target}] Precompiled binary is \"${pchBinaryFile}\"")
set(${target}_PCH_BINARY_FILE ${pchBinaryFile}
CACHE INTERNAL "Precompiled binary file"
)
endfunction()
2012/9/25 Peter Kümmel <[email protected]>
> Maybe by "accident". Which cmake command do you use to add the dependency?
--
*Please don't ask where I come from, It's a shame!*
Best Regards
Yuchen
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake