aboutsummaryrefslogtreecommitdiff
path: root/scripts/cmake
diff options
context:
space:
mode:
authorFrank Quinn <fquinn.ni@gmail.com>2017-11-19 11:42:52 +0000
committerFrank Quinn <fquinn.ni@gmail.com>2017-11-19 11:42:52 +0000
commit7fc2d7dbdf81b05905f4121fd52aa68234024c43 (patch)
treec9b79f935972ad9a5ee1caa0469db1d161dc3d98 /scripts/cmake
parent06819e43e30b64769d1ef036d20f6038dab4da34 (diff)
downloadvcpkg-7fc2d7dbdf81b05905f4121fd52aa68234024c43.tar.gz
vcpkg-7fc2d7dbdf81b05905f4121fd52aa68234024c43.zip
Added SCONS to vcpkg_find_acquire_program
See: http://scons.org I have a port I would like to submit which uses scons (which in turn uses the python interpreter already provided). This change makes SCONS usable for vcpkg_execute_required_process.
Diffstat (limited to 'scripts/cmake')
-rw-r--r--scripts/cmake/vcpkg_find_acquire_program.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/cmake/vcpkg_find_acquire_program.cmake b/scripts/cmake/vcpkg_find_acquire_program.cmake
index e6a37e328..066126e6c 100644
--- a/scripts/cmake/vcpkg_find_acquire_program.cmake
+++ b/scripts/cmake/vcpkg_find_acquire_program.cmake
@@ -148,6 +148,14 @@ function(vcpkg_find_acquire_program VAR)
set(URL "https://github.com/wixtoolset/wix3/releases/download/wix311rtm/wix311-binaries.zip")
set(ARCHIVE "wix311-binaries.zip")
set(HASH 74f0fa29b5991ca655e34a9d1000d47d4272e071113fada86727ee943d913177ae96dc3d435eaf494d2158f37560cd4c2c5274176946ebdb17bf2354ced1c516)
+ elseif(VAR MATCHES "SCONS")
+ set(PROGNAME scons)
+ set(REQUIRED_INTERPRETER PYTHON2)
+ set(SCRIPTNAME "scons.py")
+ set(PATHS ${DOWNLOADS}/tools/scons)
+ set(URL "https://sourceforge.net/projects/scons/files/scons-local-3.0.1.zip/download")
+ set(ARCHIVE "scons-local-3.0.1.zip")
+ set(HASH fe121b67b979a4e9580c7f62cfdbe0c243eba62a05b560d6d513ac7f35816d439b26d92fc2d7b7d7241c9ce2a49ea7949455a17587ef53c04a5f5125ac635727)
else()
message(FATAL "unknown tool ${VAR} -- unable to acquire.")
endif()