1
0
forked from GitHub/gf-core
Files
gf-core/src/compiler/GF/Infra/BuildInfo.hs
2019-09-19 10:06:06 +02:00

17 lines
345 B
Haskell

{-# LANGUAGE CPP #-}
module GF.Infra.BuildInfo where
import System.Info
import Data.Version(showVersion)
{-# NOINLINE buildInfo #-}
buildInfo =
"Built on "++os++"/"++arch
++" with "++compilerName++"-"++showVersion compilerVersion
++", flags:"
#ifdef USE_INTERRUPT
++" interrupt"
#endif
#ifdef SERVER_MODE
++" server"
#endif