Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mRemoteNG/PuTTYNG.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'BUILDSCR.CV')
-rw-r--r--BUILDSCR.CV14
1 files changed, 6 insertions, 8 deletions
diff --git a/BUILDSCR.CV b/BUILDSCR.CV
index fab61dc0..ab3107f2 100644
--- a/BUILDSCR.CV
+++ b/BUILDSCR.CV
@@ -6,16 +6,12 @@
module putty
-# Preparations.
-in putty do ./mkfiles.pl
-in putty do ./mkauto.sh
-in putty/doc do make
-
# Scan the Unix build, on a 64-bit system to differentiate as much as
# possible from the other scan of the cross-platform files.
delegate covscan64
- in putty do ./configure
- in putty do cov-build --dir cov-int make
+ in putty do mkdir linbuild
+ in putty/linbuild do cmake ..
+ in putty/linbuild do cov-build --dir ../cov-int make -j$(nproc) VERBOSE=1
in putty do tar czvf cov-int.tar.gz cov-int
return putty/cov-int.tar.gz
enddelegate
@@ -25,7 +21,9 @@ enddelegate
# Windows scanner for download).
delegate covscan32wine
in putty do tar xzvf cov-int.tar.gz
- in putty/windows do cov-build --dir ../cov-int make -f Makefile.mgw CC=winegcc RC=wrc
+ in putty do mkdir winbuild
+ in putty/winbuild do cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchain-winegcc.cmake
+ in putty/winbuild do cov-build --dir ../cov-int make -j$(nproc) VERBOSE=1
in putty do tar czvf cov-int.tar.gz cov-int
return putty/cov-int.tar.gz
enddelegate