Compile the correct header file for precompiled headers

This commit is contained in:
Moritz Bunkus 2010-09-04 22:04:59 +02:00
parent f4875549df
commit 65d868b1d3

View File

@ -138,8 +138,8 @@ end
# Precompiled headers
if c?(:USE_PRECOMPILED_HEADERS)
$all_objects.each { |name| file name => "src/common/common_pch.h.gch" }
file "src/common/common_pch.h.gch" => "src/common/common_pch.h", &cxx_compiler
$all_objects.each { |name| file name => "src/common/common.h.gch" }
file "src/common/common.h.gch" => "src/common/common.h", &cxx_compiler
end
# Pattern rules