mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-04 12:14:24 +02:00
Add support for Windows 64-bit
Tested on NixOS, Ubuntu and Arch Linux. Not yet able to compile for Windows 32-bit on NixOS or on Windows itself. Part of #5
This commit is contained in:
parent
fc60c366e6
commit
630e0104d5
10 changed files with 328 additions and 110 deletions
|
@ -1,11 +1,21 @@
|
|||
with (import <nixpkgs> {});
|
||||
# Use --argstr system i686-linux to build for 32-bit linux.
|
||||
{ system ? builtins.currentSystem }:
|
||||
with (import <nixpkgs> {
|
||||
inherit system;
|
||||
});
|
||||
mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
binutils.bintools
|
||||
cmake
|
||||
git
|
||||
libxkbcommon
|
||||
nix
|
||||
pkg-config
|
||||
scons
|
||||
] ++ lib.optionals (system == builtins.currentSystem) [
|
||||
# Additional dependencies for cross-compiling for Windows and OSX.
|
||||
clang
|
||||
pkgsCross.mingwW64.buildPackages.gcc
|
||||
pkgsCross.mingw32.buildPackages.gcc
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue