diff options
Diffstat (limited to 'dist/win_projects/vs2010.template')
-rw-r--r-- | dist/win_projects/vs2010.template | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/win_projects/vs2010.template b/dist/win_projects/vs2010.template index a6165afe..d3305474 100644 --- a/dist/win_projects/vs2010.template +++ b/dist/win_projects/vs2010.template @@ -479,7 +479,7 @@ declare function local:generateRcFilesNoFilter($project) for $file in $project/files//file return if (ends-with($file/@name,".rc")) then (local:indent(2),<ItemGroup xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - {local:indent(4)}<ResourceCompile Include="../{substring-after($file/@name,"/")}"> + {local:indent(4)}<ResourceCompile Include="{local:windowsPath(concat($sourcePath,$file/@name))}"> {for $platform in local:getPlatforms($vsversion) return for $config in local:getConfiguration($project) return( local:indent(6), <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=={concat("'",$config,"|",$platform,"'")}">{concat(if ($config="Debug") then "_DEBUG" else "NDEBUG",";","$(NoInherit))",";%(PreprocessorDefinitions)")}</PreprocessorDefinitions>) |