Skip to content
This repository
Browse code

wp8: update projects and sample extension

  • Loading branch information...
commit a1eca686e58146e95c8313e4a7721a3955df0ba5 1 parent 450434a
genywind authored January 19, 2013
4  Rakefile
@@ -721,8 +721,10 @@ def init_extensions(startdir, dest)
721 721
             if (!extconf[$config["platform"]].nil?) && (extconf[$config["platform"]]["libraries"].is_a? Array)
722 722
               libs = libs + extconf[$config["platform"]]["libraries"]
723 723
             end
724  
-            if $config["platform"] == "wm" || $config["platform"] == "win32" || $config["platform"] == "wp8"
  724
+            if $config["platform"] == "wm" || $config["platform"] == "win32"
725 725
               libs.map! { |lib| lib + ".lib" }
  726
+            elsif $config["platform"] == "wp8"
  727
+              libs.map! { |lib| lib + "/" + lib + ".lib" }
726 728
             else
727 729
               libs.map! { |lib| "lib" + lib + ".a" }
728 730
             end
67  platform/wp8/build/wp.rake
@@ -30,22 +30,22 @@ namespace "config" do
30 30
   end
31 31
 
32 32
   task :wp8_ARM_Release do
33  
-      $build_platform = 'ARM'
  33
+      $sdk = 'ARM'
34 34
 	  $build_config = 'Release'
35 35
   end
36 36
 
37 37
   task :wp8_ARM_Debug do
38  
-      $build_platform = 'ARM'
  38
+      $sdk = 'ARM'
39 39
 	  $build_config = 'Debug'
40 40
   end
41 41
 
42 42
   task :wp8_Win32_Release do
43  
-      $build_platform = 'Win32'
  43
+      $sdk = 'Win32'
44 44
 	  $build_config = 'Release'
45 45
   end
46 46
 
47 47
   task :wp8_Win32_Debug do
48  
-      $build_platform = 'Win32'
  48
+      $sdk = 'Win32'
49 49
 	  $build_config = 'Debug'
50 50
   end
51 51
 
@@ -69,7 +69,7 @@ namespace "config" do
69 69
     #$sdk          = "Windows Phone 8 SDK"
70 70
     #$sdk          = $app_config["wpsdk"] unless $app_config["wpsdk"].nil?
71 71
 
72  
-	$rhodes_bin_dir = "#{$startdir}/#{$vcbindir}/#{$build_platform}/rhodes/#{$build_config}"
  72
+	$rhodes_bin_dir = "#{$startdir}/#{$vcbindir}/#{$sdk}/rhodes/#{$build_config}"
73 73
 
74 74
     $excludelib = ['**/builtinME.rb','**/ServeME.rb','**/dateME.rb','**/rationalME.rb']
75 75
 
@@ -141,15 +141,13 @@ namespace "build" do
141 141
           next unless File.exists? File.join(extpath, "build.bat")
142 142
 
143 143
           ENV['RHO_PLATFORM'] = 'wp8'
144  
-          ENV['PWD'] = $startdir
145  
-          ENV['RHO_ROOT'] = ENV['PWD']
146  
-		  ENV['RHO_BUILD_PLATFORM'] = $build_platform
  144
+          ENV['RHO_ROOT'] = $startdir
  145
+		  ENV['RHO_PROJECT_NAME'] = ext
  146
+		  ENV['SDK'] = $sdk
147 147
 		  ENV['RHO_BUILD_CONFIG'] = $build_config
148  
-          ENV['TARGET_TEMP_DIR'] = File.join(ENV['PWD'], "platform", "wp8", "bin", $build_platform, "rhoruntime", $build_config)
149  
-          ENV['TEMP_FILES_DIR'] = File.join(ENV['PWD'], "platform", "wp8", "bin", $build_platform, "extensions", ext)
  148
+          ENV['TEMP_FILES_DIR'] = File.join($startdir, "platform", "wp8", "bin", $sdk, "extensions", $build_config)
150 149
           ENV['VCBUILD'] = $msbuild
151  
-          #ENV['SDK'] = $sdk
152  
-      
  150
+
153 151
           puts Jake.run("build.bat", [], extpath)
154 152
           break
155 153
         end
@@ -157,7 +155,7 @@ namespace "build" do
157 155
     end
158 156
 
159 157
     desc "Build WP8 rhobundle"
160  
-    task :rhobundle => ["config:wp8", "build:bundle:noxruby", :rhobundlemap] do
  158
+    task :rhobundle_noext => ["config:wp8", "build:bundle:noxruby", :rhobundlemap] do
161 159
       #move public folder to root
162 160
       cp_r $srcdir + "/apps/public", $srcdir + "/public"
163 161
       rm_r $srcdir + "/apps/public"
@@ -198,7 +196,7 @@ namespace "build" do
198 196
     end
199 197
 
200 198
     # build native code
201  
-    task :rhodes => ["config:wp8", "build:wp8:extensions"]do
  199
+    task :rhodes => ["config:wp8"]do
202 200
       chdir $startdir
203 201
 
204 202
       out_dir = $startdir + "/"+ $config["build"]["wp8path"] +"/rhodes"
@@ -214,9 +212,7 @@ namespace "build" do
214 212
 
215 213
       File.open($startdir + "/"+$config["build"]["wp8path"] + "/rhodes/Properties/WMAppManifest.xml", "w") { |f| doc.write f; f.close }
216 214
 
217  
-      #args = ['rhodes.sln', '/property:Configuration=Release', '/t:Rebuild']
218  
-      #args = ['rhodes.sln', "/property:Configuration=#{$build_config};Platform=#{$build_platform}", '/t:Build']
219  
-      args = ['rhodes.sln', "/p:Configuration=#{$build_config}", "/p:Platform=#{$build_platform}", '/t:Build']
  215
+      args = ['rhodes.sln', "/p:Configuration=#{$build_config}", "/p:Platform=#{$sdk}", '/t:Build']
220 216
 
221 217
       puts "\nThe following step may take several minutes or more to complete depending on your processor speed\n\n"
222 218
       Jake.run($msbuild, args)
@@ -228,7 +224,7 @@ namespace "build" do
228 224
       chdir $startdir
229 225
     end 
230 226
 
231  
-    task :package => [:rhobundle, :rhodes] do
  227
+    task :package => [:rhobundle_noext, :extensions, :rhodes] do
232 228
 	  #addbundletoxap()
233 229
 
234 230
       cp  File.join($rhodes_bin_dir, "rhodes.xap"), File.join( $rhodes_bin_dir, $appname + ".xap")
@@ -239,24 +235,29 @@ namespace "build" do
239 235
 
240 236
     end
241 237
 
242  
-    task :package_rhobundle_ARM_Release => ["config:wp8_ARM_Release", "build:wp8:rhobundle"] do
243  
-      addRhobundleFilesToCacheFile()
244  
-      addbundletoxap()
245  
-    end
  238
+	task :package_rhobundle, [:sdk, :configuration] do |t,args|
  239
+	  throw "You must pass in sdk(x86, ARM)" if args.sdk.nil?
  240
+	  throw "You must pass in configuration(Debug, Release)" if args.configuration.nil?
246 241
 
247  
-    task :package_rhobundle_ARM_Debug => ["config:wp8_ARM_Debug", "build:wp8:rhobundle"] do
248  
-      addRhobundleFilesToCacheFile()
249  
-      addbundletoxap()
250  
-    end
  242
+      $sdk = args.sdk == 'x86' ? 'Win32' : args.sdk
  243
+	  $build_config = args.configuration
251 244
 
252  
-    task :package_rhobundle_x86_Debug => ["config:wp8_Win32_Debug", "build:wp8:rhobundle"] do
253  
-      addRhobundleFilesToCacheFile()
254  
-      addbundletoxap()
255  
-    end
  245
+	  Rake::Task["build:wp8:rhobundle_noext"].invoke
256 246
 
257  
-    task :package_rhobundle_x86_Release => ["config:wp8_Win32_Release", "build:wp8:rhobundle"] do
258 247
       addRhobundleFilesToCacheFile()
259 248
       addbundletoxap()
  249
+
  250
+	end
  251
+
  252
+	task :rhobundle, [:sdk, :configuration] do |t,args|
  253
+	  throw "You must pass in sdk(Win32, ARM)" if args.sdk.nil?
  254
+	  throw "You must pass in configuration(Debug, Release)" if args.configuration.nil?
  255
+
  256
+      $sdk = args.sdk
  257
+	  $build_config = args.configuration
  258
+	  
  259
+	  Rake::Task["build:wp8:rhobundle_noext"].invoke
  260
+	  Rake::Task["build:wp8:extensions"].invoke
260 261
     end
261 262
 
262 263
   end
@@ -364,12 +365,12 @@ namespace "run" do
364 365
 
365 366
     desc "Run application on RhoSimulator"    
366 367
     task :rhosimulator => ["config:set_wp8_platform", "config:common"] do    
367  
-      $rhosim_config = "platform='wp'\r\n"
  368
+      $rhosim_config = "platform='wp8'\r\n"
368 369
       Rake::Task["run:rhosimulator"].invoke            
369 370
     end
370 371
 
371 372
     task :rhosimulator_debug => ["config:set_wp8_platform", "config:common"] do    
372  
-      $rhosim_config = "platform='wp'\r\n"
  373
+      $rhosim_config = "platform='wp8'\r\n"
373 374
       Rake::Task["run:rhosimulator_debug"].invoke            
374 375
     end
375 376
 
24  platform/wp8/curl/lib/libcurl.vcxproj
@@ -98,28 +98,28 @@
98 98
     <_ProjectFileVersion>11.0.50727.1</_ProjectFileVersion>
99 99
   </PropertyGroup>
100 100
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
101  
-    <OutDir>..\..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
102  
-    <IntDir>..\..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  101
+    <OutDir>..\..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  102
+    <IntDir>..\..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
103 103
   </PropertyGroup>
104 104
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
105  
-    <OutDir>..\..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
106  
-    <IntDir>..\..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  105
+    <OutDir>..\..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  106
+    <IntDir>..\..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
107 107
   </PropertyGroup>
108 108
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
109  
-    <OutDir>..\..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
110  
-    <IntDir>..\..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  109
+    <OutDir>..\..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  110
+    <IntDir>..\..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
111 111
   </PropertyGroup>
112 112
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
113  
-    <OutDir>..\..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
114  
-    <IntDir>..\..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  113
+    <OutDir>..\..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  114
+    <IntDir>..\..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
115 115
   </PropertyGroup>
116 116
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
117  
-    <OutDir>..\..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
118  
-    <IntDir>..\..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  117
+    <OutDir>..\..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  118
+    <IntDir>..\..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
119 119
   </PropertyGroup>
120 120
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
121  
-    <OutDir>..\..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
122  
-    <IntDir>..\..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  121
+    <OutDir>..\..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  122
+    <IntDir>..\..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
123 123
   </PropertyGroup>
124 124
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
125 125
     <Midl>
2  platform/wp8/rhodes/rhodes.csproj
@@ -194,6 +194,6 @@
194 194
   -->
195 195
   <ProjectExtensions />
196 196
   <PropertyGroup>
197  
-    <PostBuildEvent>rake build:wp8:package_rhobundle_$(Platform)_$(Configuration)</PostBuildEvent>
  197
+    <PostBuildEvent>rake build:wp8:package_rhobundle[$(Platform),$(Configuration)]</PostBuildEvent>
198 198
   </PropertyGroup>
199 199
 </Project>
24  platform/wp8/rholib/rholib.vcxproj
@@ -83,8 +83,8 @@
83 83
     <IncludePath>../../shared/ruby;../../shared;$(IncludePath)</IncludePath>
84 84
   </PropertyGroup>
85 85
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
86  
-    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
87  
-    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  86
+    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  87
+    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
88 88
     <IncludePath>../../shared/ruby;../../shared;$(IncludePath)</IncludePath>
89 89
   </PropertyGroup>
90 90
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
@@ -93,8 +93,8 @@
93 93
     <IncludePath>../../shared/ruby;../../shared;$(IncludePath)</IncludePath>
94 94
   </PropertyGroup>
95 95
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
96  
-    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
97  
-    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  96
+    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  97
+    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
98 98
     <IncludePath>../../shared/ruby;../../shared;$(IncludePath)</IncludePath>
99 99
   </PropertyGroup>
100 100
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
@@ -108,13 +108,13 @@
108 108
     <IncludePath>../../shared/ruby;../../shared;$(IncludePath)</IncludePath>
109 109
   </PropertyGroup>
110 110
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
111  
-    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
112  
-    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  111
+    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  112
+    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
113 113
     <IncludePath>../../shared/ruby;../../shared;$(IncludePath)</IncludePath>
114 114
   </PropertyGroup>
115 115
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
116  
-    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
117  
-    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  116
+    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  117
+    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
118 118
     <IncludePath>../../shared/ruby;../../shared;$(IncludePath)</IncludePath>
119 119
   </PropertyGroup>
120 120
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
@@ -128,13 +128,13 @@
128 128
     <IncludePath>../../shared/ruby;../../shared;$(IncludePath)</IncludePath>
129 129
   </PropertyGroup>
130 130
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
131  
-    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
132  
-    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  131
+    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  132
+    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
133 133
     <IncludePath>../../shared/ruby;../../shared;$(IncludePath)</IncludePath>
134 134
   </PropertyGroup>
135 135
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
136  
-    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
137  
-    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  136
+    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  137
+    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
138 138
     <IncludePath>../../shared/ruby;../../shared;$(IncludePath)</IncludePath>
139 139
   </PropertyGroup>
140 140
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
36  platform/wp8/rhoruntime/rhoruntime.vcxproj
@@ -79,28 +79,28 @@
79 79
     <GenerateManifest>false</GenerateManifest>
80 80
   </PropertyGroup>
81 81
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
82  
-    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
83  
-    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  82
+    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  83
+    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
84 84
   </PropertyGroup>
85 85
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
86  
-    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
87  
-    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  86
+    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  87
+    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
88 88
   </PropertyGroup>
89 89
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
90  
-    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
91  
-    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  90
+    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  91
+    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
92 92
   </PropertyGroup>
93 93
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
94  
-    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
95  
-    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  94
+    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  95
+    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
96 96
   </PropertyGroup>
97 97
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
98  
-    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
99  
-    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  98
+    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  99
+    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
100 100
   </PropertyGroup>
101 101
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
102  
-    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
103  
-    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  102
+    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  103
+    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
104 104
   </PropertyGroup>
105 105
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
106 106
     <ClCompile>
@@ -116,7 +116,7 @@
116 116
       <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
117 117
       <IgnoreSpecificDefaultLibraries>ole32.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
118 118
       <GenerateWindowsMetadata>true</GenerateWindowsMetadata>
119  
-      <AdditionalLibraryDirectories>$(OutDir)\</AdditionalLibraryDirectories>
  119
+      <AdditionalLibraryDirectories>..\bin\$(Platform)\extensions\$(Configuration)\</AdditionalLibraryDirectories>
120 120
       <AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
121 121
     </Link>
122 122
   </ItemDefinitionGroup>
@@ -134,7 +134,7 @@
134 134
       <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
135 135
       <IgnoreSpecificDefaultLibraries>ole32.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
136 136
       <GenerateWindowsMetadata>true</GenerateWindowsMetadata>
137  
-      <AdditionalLibraryDirectories>$(OutDir)\</AdditionalLibraryDirectories>
  137
+      <AdditionalLibraryDirectories>..\bin\$(Platform)\extensions\$(Configuration)\</AdditionalLibraryDirectories>
138 138
       <AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
139 139
     </Link>
140 140
   </ItemDefinitionGroup>
@@ -152,7 +152,7 @@
152 152
       <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
153 153
       <IgnoreSpecificDefaultLibraries>ole32.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
154 154
       <GenerateWindowsMetadata>true</GenerateWindowsMetadata>
155  
-      <AdditionalLibraryDirectories>$(OutDir)\</AdditionalLibraryDirectories>
  155
+      <AdditionalLibraryDirectories>..\bin\$(Platform)\extensions\$(Configuration)\</AdditionalLibraryDirectories>
156 156
       <AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
157 157
     </Link>
158 158
   </ItemDefinitionGroup>
@@ -170,7 +170,7 @@
170 170
       <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
171 171
       <IgnoreSpecificDefaultLibraries>ole32.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
172 172
       <GenerateWindowsMetadata>true</GenerateWindowsMetadata>
173  
-      <AdditionalLibraryDirectories>$(OutDir)\</AdditionalLibraryDirectories>
  173
+      <AdditionalLibraryDirectories>..\bin\$(Platform)\extensions\$(Configuration)\</AdditionalLibraryDirectories>
174 174
       <AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
175 175
     </Link>
176 176
   </ItemDefinitionGroup>
@@ -188,7 +188,7 @@
188 188
       <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
189 189
       <IgnoreSpecificDefaultLibraries>ole32.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
190 190
       <GenerateWindowsMetadata>true</GenerateWindowsMetadata>
191  
-      <AdditionalLibraryDirectories>$(OutDir)\</AdditionalLibraryDirectories>
  191
+      <AdditionalLibraryDirectories>..\bin\$(Platform)\extensions\$(Configuration)\</AdditionalLibraryDirectories>
192 192
       <AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
193 193
     </Link>
194 194
   </ItemDefinitionGroup>
@@ -206,7 +206,7 @@
206 206
       <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
207 207
       <IgnoreSpecificDefaultLibraries>ole32.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
208 208
       <GenerateWindowsMetadata>true</GenerateWindowsMetadata>
209  
-      <AdditionalLibraryDirectories>$(OutDir)\</AdditionalLibraryDirectories>
  209
+      <AdditionalLibraryDirectories>..\bin\$(Platform)\extensions\$(Configuration)\</AdditionalLibraryDirectories>
210 210
       <AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
211 211
     </Link>
212 212
   </ItemDefinitionGroup>
24  platform/wp8/rubylib/rubylib.vcxproj
@@ -79,33 +79,33 @@
79 79
   </PropertyGroup>
80 80
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
81 81
     <IncludePath>..\..\shared\ruby\;..\..\shared\ruby\include;..\..\shared\ruby\wp8;..\..\shared\ruby\wp8\sys;..\..\shared\ruby\win32;..\..\shared\ruby\generated;..\..\shared\ruby\rhoruby;..\..\shared;$(IncludePath)</IncludePath>
82  
-    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
83  
-    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  82
+    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  83
+    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
84 84
   </PropertyGroup>
85 85
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
86 86
     <IncludePath>..\..\shared\ruby\;..\..\shared\ruby\include;..\..\shared\ruby\wp8;..\..\shared\ruby\wp8\sys;..\..\shared\ruby\win32;..\..\shared\ruby\generated;..\..\shared\ruby\rhoruby;..\..\shared;$(IncludePath)</IncludePath>
87  
-    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
88  
-    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  87
+    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  88
+    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
89 89
   </PropertyGroup>
90 90
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
91 91
     <IncludePath>..\..\shared\ruby\;..\..\shared\ruby\include;..\..\shared\ruby\wp8;..\..\shared\ruby\wp8\sys;..\..\shared\ruby\win32;..\..\shared\ruby\generated;..\..\shared\ruby\rhoruby;..\..\shared;$(IncludePath)</IncludePath>
92  
-    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
93  
-    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  92
+    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  93
+    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
94 94
   </PropertyGroup>
95 95
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
96 96
     <IncludePath>..\..\shared\ruby\;..\..\shared\ruby\include;..\..\shared\ruby\wp8;..\..\shared\ruby\wp8\sys;..\..\shared\ruby\win32;..\..\shared\ruby\generated;..\..\shared\ruby\rhoruby;..\..\shared;$(IncludePath)</IncludePath>
97  
-    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
98  
-    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  97
+    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  98
+    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
99 99
   </PropertyGroup>
100 100
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
101 101
     <IncludePath>..\..\shared\ruby\;..\..\shared\ruby\include;..\..\shared\ruby\wp8;..\..\shared\ruby\generated;..\..\shared\ruby\rhoruby;..\..\shared;$(IncludePath)</IncludePath>
102  
-    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
103  
-    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  102
+    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  103
+    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
104 104
   </PropertyGroup>
105 105
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
106 106
     <IncludePath>..\..\shared\ruby\;..\..\shared\ruby\include;..\..\shared\ruby\wp8;..\..\shared\ruby\wp8\sys;..\..\shared\ruby\win32;..\..\shared\ruby\generated;..\..\shared\ruby\rhoruby;..\..\shared;$(IncludePath)</IncludePath>
107  
-    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
108  
-    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  107
+    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  108
+    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
109 109
   </PropertyGroup>
110 110
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
111 111
     <ClCompile>
24  platform/wp8/sqlite3/sqlite3.vcxproj
@@ -78,28 +78,28 @@
78 78
     <GenerateManifest>false</GenerateManifest>
79 79
   </PropertyGroup>
80 80
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
81  
-    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
82  
-    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  81
+    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  82
+    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
83 83
   </PropertyGroup>
84 84
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
85  
-    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
86  
-    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  85
+    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  86
+    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
87 87
   </PropertyGroup>
88 88
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
89  
-    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
90  
-    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  89
+    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  90
+    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
91 91
   </PropertyGroup>
92 92
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
93  
-    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
94  
-    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  93
+    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  94
+    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
95 95
   </PropertyGroup>
96 96
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
97  
-    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
98  
-    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  97
+    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  98
+    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
99 99
   </PropertyGroup>
100 100
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
101  
-    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
102  
-    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  101
+    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  102
+    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
103 103
   </PropertyGroup>
104 104
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
105 105
     <ClCompile>
24  platform/wp8/syncengine/syncengine.vcxproj
@@ -96,28 +96,28 @@
96 96
     <IncludePath>..\..\shared\json;..\..\shared;$(IncludePath)</IncludePath>
97 97
   </PropertyGroup>
98 98
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
99  
-    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
100  
-    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  99
+    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  100
+    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
101 101
   </PropertyGroup>
102 102
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
103  
-    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
104  
-    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  103
+    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  104
+    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
105 105
   </PropertyGroup>
106 106
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
107  
-    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
108  
-    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  107
+    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  108
+    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
109 109
   </PropertyGroup>
110 110
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
111  
-    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
112  
-    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  111
+    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  112
+    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
113 113
   </PropertyGroup>
114 114
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
115  
-    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
116  
-    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  115
+    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  116
+    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
117 117
   </PropertyGroup>
118 118
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
119  
-    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</OutDir>
120  
-    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)</IntDir>
  119
+    <OutDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</OutDir>
  120
+    <IntDir>..\bin\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
121 121
   </PropertyGroup>
122 122
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
123 123
     <ClCompile>
10  spec/api_generator_spec/extensions/barcode1/ext/barcode1/platform/wp8/Barcode1.props
@@ -4,15 +4,15 @@
4 4
   </ImportGroup>
5 5
   <PropertyGroup Label="UserMacros">
6 6
     <_RHO_ROOT>c:/projects/rhodes</_RHO_ROOT>
7  
-    <_TEMP_FILES_DIR>bin\$(Platform)\$(ProjectName)</_TEMP_FILES_DIR>
  7
+    <TEMP_FILES_DIR>$(RHO_ROOT)\platform\wp8\bin\$(Platform)\extensions\$(Configuration)</TEMP_FILES_DIR>
8 8
   </PropertyGroup>
9 9
   <ItemDefinitionGroup />
10 10
   <ItemGroup>
11  
-    <BuildMacro Include="_RHO_ROOT">
12  
-      <Value>$(_RHO_ROOT)</Value>
  11
+    <BuildMacro Include="RHO_ROOT">
  12
+      <Value>$(RHO_ROOT)</Value>
13 13
     </BuildMacro>
14  
-    <BuildMacro Include="_TEMP_FILES_DIR">
15  
-      <Value>$(_TEMP_FILES_DIR)</Value>
  14
+    <BuildMacro Include="TEMP_FILES_DIR">
  15
+      <Value>$(TEMP_FILES_DIR)</Value>
16 16
     </BuildMacro>
17 17
   </ItemGroup>
18 18
 </Project>
20  spec/api_generator_spec/extensions/barcode1/ext/barcode1/platform/wp8/Barcode1.vcxproj
@@ -68,20 +68,20 @@
68 68
     <GenerateManifest>false</GenerateManifest>
69 69
   </PropertyGroup>
70 70
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
71  
-    <OutDir>$(TEMP_FILES_DIR)\$(Configuration)</OutDir>
72  
-    <IntDir>$(TEMP_FILES_DIR)\$(Configuration)</IntDir>
  71
+    <OutDir>$(TEMP_FILES_DIR)\$(ProjectName)\</OutDir>
  72
+    <IntDir>$(TEMP_FILES_DIR)\$(ProjectName)\</IntDir>
73 73
   </PropertyGroup>
74 74
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
75  
-    <OutDir>$(TEMP_FILES_DIR)\$(Configuration)</OutDir>
76  
-    <IntDir>$(TEMP_FILES_DIR)\$(Configuration)</IntDir>
  75
+    <OutDir>$(TEMP_FILES_DIR)\$(ProjectName)\</OutDir>
  76
+    <IntDir>$(TEMP_FILES_DIR)\$(ProjectName)\</IntDir>
77 77
   </PropertyGroup>
78 78
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
79  
-    <OutDir>$(TEMP_FILES_DIR)\$(Configuration)</OutDir>
80  
-    <IntDir>$(TEMP_FILES_DIR)\$(Configuration)</IntDir>
  79
+    <OutDir>$(TEMP_FILES_DIR)\$(ProjectName)\</OutDir>
  80
+    <IntDir>$(TEMP_FILES_DIR)\$(ProjectName)\</IntDir>
81 81
   </PropertyGroup>
82 82
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
83  
-    <OutDir>$(TEMP_FILES_DIR)\$(Configuration)</OutDir>
84  
-    <IntDir>$(TEMP_FILES_DIR)\$(Configuration)</IntDir>
  83
+    <OutDir>$(TEMP_FILES_DIR)\$(ProjectName)\</OutDir>
  84
+    <IntDir>$(TEMP_FILES_DIR)\$(ProjectName)\</IntDir>
85 85
   </PropertyGroup>
86 86
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
87 87
     <ClCompile>
@@ -113,7 +113,7 @@
113 113
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
114 114
     <ClCompile>
115 115
       <PreprocessorDefinitions>_LIB;_WP8_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
116  
-      <PrecompiledHeader>Use</PrecompiledHeader>
  116
+      <PrecompiledHeader>NotUsing</PrecompiledHeader>
117 117
       <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
118 118
       <AdditionalUsingDirectories>$(WindowsSDK_MetadataPath);$(AdditionalUsingDirectories)</AdditionalUsingDirectories>
119 119
       <AdditionalIncludeDirectories>$(RHO_ROOT)\platform\shared\ruby\wp8;$(RHO_ROOT)\platform\shared\ruby\include;$(RHO_ROOT)\platform\shared;$(RHO_ROOT)\platform\shared\common</AdditionalIncludeDirectories>
@@ -126,7 +126,7 @@
126 126
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
127 127
     <ClCompile>
128 128
       <PreprocessorDefinitions>_LIB;_WP8_LIB;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
129  
-      <PrecompiledHeader>Use</PrecompiledHeader>
  129
+      <PrecompiledHeader>NotUsing</PrecompiledHeader>
130 130
       <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
131 131
       <AdditionalUsingDirectories>$(WindowsSDK_MetadataPath);$(AdditionalUsingDirectories)</AdditionalUsingDirectories>
132 132
       <AdditionalIncludeDirectories>$(RHO_ROOT)\platform\shared\ruby\wp8;$(RHO_ROOT)\platform\shared\ruby\include;$(RHO_ROOT)\platform\shared;$(RHO_ROOT)\platform\shared\common</AdditionalIncludeDirectories>
34  spec/api_generator_spec/extensions/barcode1/ext/barcode1/platform/wp8/Rakefile
... ...
@@ -1,51 +1,47 @@
1 1
 require 'fileutils'
2 2
 
3  
-USE_STLPORT = true
4  
-
5  
-
6  
-def build_extension(name, arch)
  3
+def build_extension()
7 4
   objects = []
8  
-  mkdir_p $tempdir unless File.exists? $tempdir
9  
-
10  
-  mkdir_p $targetdir unless File.exist? $targetdir
11 5
 
12 6
   if ENV['RHO_PLATFORM'] == 'wp8'
13 7
     args = []
14  
-    args = [name + ".vcxproj", "/property:Configuration="+$build_config+" /property:Platform="+$build_platform, '/t:Rebuild']
  8
+    args = [$project_name + ".vcxproj", "/property:Configuration="+$build_config+" /property:Platform="+$sdk, '/t:Build']
15 9
     cmdline = "\"" + $vcbuild + "\"" + ' ' + args.join(' ')
16 10
     puts cmdline
17 11
     puts `#{cmdline}`
18 12
     exit unless $? == 0
19 13
 
20  
-    cp_r File.join($tempdir, $build_config, name + ".lib"), $targetdir
21 14
   end
22 15
 end
23 16
 
24 17
 namespace "build" do
25 18
   task :config do
26  
-    $targetdir = ENV['TARGET_TEMP_DIR']
27  
-    raise "TARGET_TEMP_DIR is not set" if $targetdir.nil?
  19
+    #$targetdir = ENV['TARGET_TEMP_DIR']
  20
+    #raise "TARGET_TEMP_DIR is not set" if $targetdir.nil?
  21
+
28 22
     $tempdir = ENV['TEMP_FILES_DIR']
29 23
     raise "TEMP_FILES_DIR is not set" if $tempdir.nil?
  24
+
30 25
     $rootdir = ENV['RHO_ROOT']
31 26
     raise "RHO_ROOT is not set" if $rootdir.nil?
32 27
 
33  
-      $vcbuild = ENV['VCBUILD']
34  
-      raise "VCBUILD is not set" if $vcbuild.nil?
35  
-      #$sdk = ENV['SDK']
36  
-      #raise "SDK is not set" if $sdk.nil?
37  
-
38  
-    $build_platform = ENV['RHO_BUILD_PLATFORM']
39  
-	raise "RHO_BUILD_PLATFORM is not set" if $build_platform.nil?
  28
+    $vcbuild = ENV['VCBUILD']
  29
+    raise "VCBUILD is not set" if $vcbuild.nil?
40 30
 
  31
+    $sdk = ENV['SDK']
  32
+	raise "SDK is not set" if $sdk.nil?
  33
+	
41 34
 	$build_config = ENV['RHO_BUILD_CONFIG']
42 35
     raise "RHO_BUILD_CONFIG is not set" if $build_config.nil?
43 36
 
  37
+	$project_name = ENV['RHO_PROJECT_NAME']
  38
+    raise "RHO_PROJECT_NAME is not set" if $project_name.nil?
  39
+
44 40
   end
45 41
 
46 42
   task :all => :config do
47 43
 
48  
-    build_extension('Barcode1', $arch)
  44
+    build_extension()
49 45
   end
50 46
 end
51 47
 

0 notes on commit a1eca68

Please sign in to comment.
Something went wrong with that request. Please try again.