85 lines
2.6 KiB
Text
85 lines
2.6 KiB
Text
-- Initial haskelloids.cabal generated by cabal init. For further
|
|
-- documentation, see http://haskell.org/cabal/users-guide/
|
|
|
|
-- The name of the package.
|
|
name: haskelloids
|
|
|
|
-- The package version. See the Haskell package versioning policy (PVP)
|
|
-- for standards guiding when and how versions should be incremented.
|
|
-- https://wiki.haskell.org/Package_versioning_policy
|
|
-- PVP summary: +-+------- breaking API changes
|
|
-- | | +----- non-breaking API additions
|
|
-- | | | +--- code changes with no API change
|
|
version: 0.0.0.1
|
|
|
|
-- A short (one-line) description of the package.
|
|
synopsis: A little game using Affection
|
|
|
|
-- A longer description of the package.
|
|
description: This game is a reimplementation of the old game classic
|
|
"Asteroids" using my own game engine "Affection".
|
|
|
|
-- The license under which the package is released.
|
|
license: GPL-3
|
|
|
|
-- The file containing the license text.
|
|
license-file: LICENSE
|
|
|
|
-- The package author(s).
|
|
author: nek0
|
|
|
|
-- An email address to which users can send suggestions, bug reports, and
|
|
-- patches.
|
|
maintainer: nek0@chelnok.de
|
|
|
|
-- A copyright notice.
|
|
-- copyright:
|
|
|
|
category: Game
|
|
|
|
build-type: Simple
|
|
|
|
-- Extra files to be distributed with the package, such as examples or a
|
|
-- README.
|
|
extra-source-files: ChangeLog.md
|
|
|
|
-- Constraint on the version of Cabal needed to build this package.
|
|
cabal-version: >=1.10
|
|
|
|
|
|
executable haskelloids
|
|
-- .hs or .lhs file containing the Main module.
|
|
main-is: Main.hs
|
|
ghc-options: -Wall
|
|
extra-libraries: GLEW
|
|
pkgconfig-depends: glew
|
|
|
|
-- Modules included in this executable, other than Main.
|
|
other-modules: Types
|
|
, Commons
|
|
, StateMachine
|
|
, Menu
|
|
, InGame
|
|
, Init
|
|
|
|
default-extensions: OverloadedStrings
|
|
-- LANGUAGE extensions used by modules in this package.
|
|
-- other-extensions:
|
|
|
|
-- Other library packages from which modules are imported.
|
|
build-depends: base >=4.12 && <5
|
|
, affection == 0.0.0.10
|
|
, sdl2 >= 2.5.0.0
|
|
, OpenGL
|
|
, containers
|
|
, random
|
|
, linear
|
|
, stm
|
|
, nanovg >= 0.6
|
|
|
|
-- Directories containing source files.
|
|
hs-source-dirs: src
|
|
|
|
-- Base language which the package is written in.
|
|
default-language: Haskell2010
|
|
|