Skip to content

Commit

Permalink
Add a WinStore-x86_64 cmake toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
lanza committed Nov 8, 2018
1 parent 3921643 commit a92f8f6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ environment:
- toolchain: "Windows-x86_64"
- toolchain: "Windows-x86"
- toolchain: "WinStore-x86"
- toolchain: "WinStore-x86_64"
- toolchain: "WinStore-ARM"

clone_folder: c:\projects\ds2
Expand Down
18 changes: 18 additions & 0 deletions Support/CMake/Toolchain-WinStore-x86_64.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
##
## Copyright (c) 2014-present, Facebook, Inc.
## All rights reserved.
##
## This source code is licensed under the University of Illinois/NCSA Open
## Source License found in the LICENSE file in the root directory of this
## source tree. An additional grant of patent rights can be found in the
## PATENTS file in the same directory.
##

set(CMAKE_SYSTEM_NAME WindowsStore)
set(CMAKE_SYSTEM_VERSION 10.0)
set(CMAKE_GENERATOR_PLATFORM x64)

# For WinStore we build as a library because creating a process seems
# restricted, so we just have a separate process open `ds2.dll` and run `main`
# from it.
set(LIBRARY 1)

0 comments on commit a92f8f6

Please sign in to comment.