cs: configure MSVC Windows build to compress compiled code
This commit is contained in:
parent
589f0e55e4
commit
7013cfb655
|
@ -139,6 +139,7 @@
|
||||||
(parameterize ([current-directory (build-path 'up "cs")])
|
(parameterize ([current-directory (build-path 'up "cs")])
|
||||||
(define convert.d (build-path build-dir "compiled" "convert.d"))
|
(define convert.d (build-path build-dir "compiled" "convert.d"))
|
||||||
(unless (file-exists? convert.d) (call-with-output-file convert.d void))
|
(unless (file-exists? convert.d) (call-with-output-file convert.d void))
|
||||||
|
(putenv "PLT_CS_MAKE_COMPRESSED" "yes")
|
||||||
(system*! "nmake"
|
(system*! "nmake"
|
||||||
(build-path "../build/racket.so") ; need forward slashes
|
(build-path "../build/racket.so") ; need forward slashes
|
||||||
(format "RACKET=~a" rel-racket)
|
(format "RACKET=~a" rel-racket)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user