diff options
Diffstat (limited to 'Protocols/SIP/build/rakefile')
-rw-r--r-- | Protocols/SIP/build/rakefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Protocols/SIP/build/rakefile b/Protocols/SIP/build/rakefile index 8028b57..c2a8061 100644 --- a/Protocols/SIP/build/rakefile +++ b/Protocols/SIP/build/rakefile @@ -48,7 +48,8 @@ end # Build ##############################################################################
-SOLUTION="#{PROJECT}.sln"
+#SOLUTION="#{PROJECT}.sln"
+SOLUTION="#{PROJECT}.dsw"
CONFIG=[ "Release", "Unicode Release" ]
BUILD_RESULT_DIR=[ "../Release", "../Unicode_Release" ]
DLL=[ "../../../bin/Release/Plugins/#{PROJECT}.dll", "../../../bin/Release Unicode/Plugins/#{PROJECT}W.dll" ]
@@ -64,7 +65,8 @@ PDB=[ "#{BUILD_RESULT_DIR[0]}/#{PROJECT}.pdb", "#{BUILD_RESULT_DIR[1]}/#{PROJECT puts
puts "Building #{type} #{PROJECT}"
chdir(SRC_DIR) do
- sh "#{VC} #{SOLUTION} /Build \"#{CONFIG[i]}\"" do |ok, status|
+# sh "#{VC} #{SOLUTION} /Build \"#{CONFIG[i]}\"" do |ok, status|
+ sh "msdev #{SOLUTION} /MAKE \"#{PROJECT} - Win32 #{CONFIG[i]}\" /REBUILD" do |ok, status|
ok or fail "Failed to compile #{type} dll (#{status.exitstatus})"
end
end
@@ -130,6 +132,7 @@ ZIP_FOLDERS=['zip_ansi', 'zip_unicode'] ZIPS=[ "#{PROJECT}", "#{PROJECT}W" ]
VOICE_SERVICE=[ "../../../bin/Release/Plugins/voiceservice.dll", "../../../bin/Release/Plugins/voiceserviceW.dll" ]
+HISTORY_EVENTS=[ "../../../bin/Release/Plugins/aa_historyevents.dll", "../../../bin/Release Unicode/Plugins/aa_historyeventsW.dll" ]
(0..1).each do |i|
type = TYPES[i]
@@ -163,6 +166,7 @@ VOICE_SERVICE=[ "../../../bin/Release/Plugins/voiceservice.dll", "../../../bin/R makedirs target_dir
cp DLL[i], target_dir
cp VOICE_SERVICE[i], target_dir
+ cp HISTORY_EVENTS[i], target_dir
rm zip, :force => true
chdir(ZIP_FOLDERS[i]) do
|