-
Notifications
You must be signed in to change notification settings - Fork 7
/
project.clj
28 lines (26 loc) · 1.03 KB
/
project.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
(defn get-native-lib-path
[os-name]
(cond
(re-find #"(?i)mac" os-name) "native/macosx"
(re-find #"(?i)win" os-name) "native/windows"
(re-find #"(?i)linux" os-name) "native/linux"
(re-find #"(?i)solaris" os-name) "native/solaris"))
(defproject bitmap-font "0.1.1"
:description "Bitmap fonts in LWJGL."
:url ""
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:jvm-opts [~(str "-Djava.library.path="
(get-native-lib-path
(System/getProperty "os.name")))]
:dependencies [[org.clojure/clojure "1.5.1"]
[org.lwjgl.lwjgl/lwjgl "2.8.4"]
[org.lwjgl.lwjgl/lwjgl_util "2.8.4"]
[org.clojars.jyaan/slick "247.1"]
[org.clojars.bagucode/jorbis "0.0.17"]
[org.clojars.aseipp/jogg "0.0.7"]]
:min-lein-version "2.0.0"
:source-paths ["src"]
:java-source-paths ["java-src"]
:javac-options ["-target" "1.6" "-source" "1.6"]
:main bitmap-font.core)