cmake_modules/checkModule.hs
author Wuzzy <Wuzzy2@mail.ru>
Thu, 25 Apr 2019 19:42:19 +0200
changeset 14832 769189675b6c
parent 12402 cc2163c7750f
permissions -rw-r--r--
Add lookup table for Hedgewars key IDs instead of generating IDs on the fly This makes sure the key IDs never change. Previous implementation abused SDL_GetScancodeName to generate the IDs programmatically, which was not reliable and explicitly adviced against in the SDL documentation <https://wiki.libsdl.org/SDL_GetScancodeName#Remarks>.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12402
cc2163c7750f Fix fail to detect base package when built with ghc 8
unc0rr
parents: 10109
diff changeset
     1
{-# LANGUAGE ImpredicativeTypes #-}
10109
91d126fbd7bd CMake checks for haskell modules needed
unc0rr
parents:
diff changeset
     2
module Main where
91d126fbd7bd CMake checks for haskell modules needed
unc0rr
parents:
diff changeset
     3
91d126fbd7bd CMake checks for haskell modules needed
unc0rr
parents:
diff changeset
     4
import qualified MODULE as M
91d126fbd7bd CMake checks for haskell modules needed
unc0rr
parents:
diff changeset
     5
91d126fbd7bd CMake checks for haskell modules needed
unc0rr
parents:
diff changeset
     6
main = undefined $ M.FUNCTION PARAMETERS