mirror of
https://github.com/reactos/CMake.git
synced 2024-11-30 23:10:26 +00:00
ENH: do not compile header files
This commit is contained in:
parent
cf23679d72
commit
03cee03f67
@ -1015,7 +1015,8 @@ void cmLocalVisualStudio7Generator::WriteGroup(const cmSourceGroup *sg, cmTarget
|
||||
std::string compileFlags;
|
||||
std::string additionalDeps;
|
||||
sourceName = (*sf)->GetSourceName();
|
||||
if(sourceName.find("/") != sourceName.npos)
|
||||
if(!(*sf)->GetPropertyAsBool("HEADER_FILE_ONLY" )
|
||||
&& sourceName.find("/") != sourceName.npos)
|
||||
{
|
||||
cmSystemTools::ReplaceString(sourceName, "/", "_");
|
||||
sourceName += ".obj";
|
||||
|
Loading…
Reference in New Issue
Block a user