summaryrefslogtreecommitdiff
path: root/Protocols/SIP/build
diff options
context:
space:
mode:
authorpescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7>2010-01-07 02:10:02 +0000
committerpescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7>2010-01-07 02:10:02 +0000
commitffc65c1f90f685e98f2f6d0a5d72c661b69cb3df (patch)
treea5f1a1c12b58531eb3310a316fd00aace6ee8419 /Protocols/SIP/build
parent82516d84cc393f79eb620cb6300d320084a8272c (diff)
sip: 0.1.1.0
+ Build with vc6 * Fix for wrong voice service version git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@207 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Protocols/SIP/build')
-rw-r--r--Protocols/SIP/build/rakefile8
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