Skip to content

Commit

Permalink
Update CMake to 3.7.2 (WebAssembly#298)
Browse files Browse the repository at this point in the history
This version contains a fix to the Ninja generator that properly recognizes gnu-style compilers on Windows and creates response files with the correct file path escaping.
  • Loading branch information
dschuff authored Dec 6, 2017
1 parent e5ed748 commit 7cda260
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,11 @@ def NodePlatformName():
def CMakePlatformName():
return {'linux2': 'Linux',
'darwin': 'Darwin',
'win32': 'win32'}[sys.platform]
'win32': 'win64'}[sys.platform]


def CMakeArch():
return 'x86' if IsWindows() else 'x86_64'
return 'x64' if IsWindows() else 'x86_64'


def CMakeBinDir():
Expand All @@ -177,7 +177,7 @@ def CMakeBinDir():
NODE_VERSION = '7.0.0'
NODE_BASE_NAME = 'node-v' + NODE_VERSION + '-'

PREBUILT_CMAKE_VERSION = '3.4.3'
PREBUILT_CMAKE_VERSION = '3.7.2'
PREBUILT_CMAKE_BASE_NAME = 'cmake-%s-%s-%s' % (PREBUILT_CMAKE_VERSION,
CMakePlatformName(),
CMakeArch())
Expand Down

0 comments on commit 7cda260

Please sign in to comment.