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
1715a617
Commit
1715a617
authored
Feb 27, 2015
by
Ghislain MARY
Browse files
Automatically install intltool and GTK when building for desktop on Windows.
parent
7e17981c
Changes
1
Hide whitespace changes
Inline
Side-by-side
configs/config-desktop.cmake
View file @
1715a617
...
...
@@ -77,6 +77,23 @@ if("${_IS_SYSTEM_DIR}" STREQUAL "-1")
endif
()
# Install dependencies
if
(
MSVC
)
message
(
STATUS
"Installing intltool"
)
file
(
DOWNLOAD http://ftp.acc.umu.se/pub/GNOME/binaries/win32/intltool/0.40/intltool_0.40.4-1_win32.zip
"
${
CMAKE_CURRENT_BINARY_DIR
}
/intltool_win32.zip"
SHOW_PROGRESS
)
execute_process
(
COMMAND
"
${
CMAKE_COMMAND
}
"
"-E"
"tar"
"x"
"
${
CMAKE_CURRENT_BINARY_DIR
}
/intltool_win32.zip"
WORKING_DIRECTORY
"
${
CMAKE_INSTALL_PREFIX
}
"
)
message
(
STATUS
"Installing GTK"
)
file
(
DOWNLOAD http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.24/gtk+-bundle_2.24.10-20120208_win32.zip
"
${
CMAKE_CURRENT_BINARY_DIR
}
/gtk+-bundle_win32.zip"
SHOW_PROGRESS
)
execute_process
(
COMMAND
"
${
CMAKE_COMMAND
}
"
"-E"
"tar"
"x"
"
${
CMAKE_CURRENT_BINARY_DIR
}
/gtk+-bundle_win32.zip"
WORKING_DIRECTORY
"
${
CMAKE_INSTALL_PREFIX
}
"
)
endif
()
# Include builders
include
(
builders/CMakeLists.txt
)
...
...
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