BUG: fix for 7845, idl files compile even with headerfile only on
This commit is contained in:
parent
1902f8e63c
commit
97ef91d57b
@ -1302,11 +1302,10 @@ cmLocalVisualStudio7GeneratorFCInfo
|
|||||||
needForceLang = true;
|
needForceLang = true;
|
||||||
lang = sourceLang;
|
lang = sourceLang;
|
||||||
}
|
}
|
||||||
// If lang is set, the compiler will generate code automatically.
|
|
||||||
// If HEADER_FILE_ONLY is set, we must suppress this generation in
|
// If HEADER_FILE_ONLY is set, we must suppress this generation in
|
||||||
// the project file
|
// the project file
|
||||||
fc.ExcludedFromBuild =
|
fc.ExcludedFromBuild =
|
||||||
(lang && sf.GetPropertyAsBool("HEADER_FILE_ONLY"));
|
(sf.GetPropertyAsBool("HEADER_FILE_ONLY"));
|
||||||
if(fc.ExcludedFromBuild)
|
if(fc.ExcludedFromBuild)
|
||||||
{
|
{
|
||||||
needfc = true;
|
needfc = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user