Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
linphone-cmake-builder
Commits
2113eec4
Commit
2113eec4
authored
Feb 27, 2015
by
Ghislain MARY
Browse files
Install libsoup when compiling desktop for Windows.
parent
1715a617
Changes
1
Hide whitespace changes
Inline
Side-by-side
configs/config-desktop.cmake
View file @
2113eec4
...
...
@@ -91,6 +91,18 @@ if(MSVC)
COMMAND
"
${
CMAKE_COMMAND
}
"
"-E"
"tar"
"x"
"
${
CMAKE_CURRENT_BINARY_DIR
}
/gtk+-bundle_win32.zip"
WORKING_DIRECTORY
"
${
CMAKE_INSTALL_PREFIX
}
"
)
message
(
STATUS
"Installing libsoup"
)
file
(
DOWNLOAD http://ftp.gnome.org/pub/gnome/binaries/win32/libsoup/2.24/libsoup_2.24.0-1_win32.zip
"
${
CMAKE_CURRENT_BINARY_DIR
}
/libsoup.zip"
SHOW_PROGRESS
)
execute_process
(
COMMAND
"
${
CMAKE_COMMAND
}
"
"-E"
"tar"
"x"
"
${
CMAKE_CURRENT_BINARY_DIR
}
/libsoup.zip"
WORKING_DIRECTORY
"
${
CMAKE_INSTALL_PREFIX
}
"
)
file
(
DOWNLOAD http://ftp.gnome.org/pub/gnome/binaries/win32/libsoup/2.24/libsoup-dev_2.24.0-1_win32.zip
"
${
CMAKE_CURRENT_BINARY_DIR
}
/libsoup-dev.zip"
SHOW_PROGRESS
)
execute_process
(
COMMAND
"
${
CMAKE_COMMAND
}
"
"-E"
"tar"
"x"
"
${
CMAKE_CURRENT_BINARY_DIR
}
/libsoup-dev.zip"
WORKING_DIRECTORY
"
${
CMAKE_INSTALL_PREFIX
}
"
)
file
(
RENAME
"
${
CMAKE_INSTALL_PREFIX
}
/lib/libsoup-2.4.dll.a"
"
${
CMAKE_INSTALL_PREFIX
}
/lib/soup-2.4.lib"
)
endif
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment