gen_msvs_proj: add trailing \ to IntDir
authorJames Zern <jzern@google.com>
Wed, 5 Feb 2014 04:42:03 +0000 (20:42 -0800)
committerJames Zern <jzern@google.com>
Wed, 5 Feb 2014 04:42:03 +0000 (20:42 -0800)
older versions of visual studio did not include the trailing \. this
moves the objects to their intended location: the project subdirectory

Change-Id: I244479cdebf6b3f03bed6dbfca82e7fb4542f0de

build/make/gen_msvs_proj.sh

index fc5011b..7df0334 100755 (executable)
@@ -155,8 +155,8 @@ generate_filter() {
                             tag Tool \
                                 Name="VCCustomBuildTool" \
                                 Description="Assembling \$(InputFileName)" \
-                                CommandLine="$(eval echo \$asm_${cfg}_cmdline) -o \$(IntDir)$objf" \
-                                Outputs="\$(IntDir)$objf" \
+                                CommandLine="$(eval echo \$asm_${cfg}_cmdline) -o \$(IntDir)\\$objf" \
+                                Outputs="\$(IntDir)\\$objf" \
 
                             close_tag FileConfiguration
                         done
@@ -170,7 +170,7 @@ generate_filter() {
 
                             tag Tool \
                                 Name="VCCLCompilerTool" \
-                                ObjectFile="\$(IntDir)$objf" \
+                                ObjectFile="\$(IntDir)\\$objf" \
 
                             close_tag FileConfiguration
                         done