Skip to content

Instantly share code, notes, and snippets.

@kadirmalak
Created November 28, 2021 15:36
Show Gist options
  • Save kadirmalak/1e7a3d9d90325aa8e5bf2708b5d711b5 to your computer and use it in GitHub Desktop.
Save kadirmalak/1e7a3d9d90325aa8e5bf2708b5d711b5 to your computer and use it in GitHub Desktop.
Minimal OpenGL app Leiningen project file
(defproject lwjgl-demo "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
:url "https://www.eclipse.org/legal/epl-2.0/"}
:dependencies [[org.clojure/clojure "1.10.1"]
[org.lwjgl/lwjgl "3.3.0"]
[org.lwjgl/lwjgl "3.3.0" :classifier "natives-macos"]
[org.lwjgl/lwjgl-opengl "3.3.0"]
[org.lwjgl/lwjgl-opengl "3.3.0" :classifier "natives-macos"]
[org.lwjgl/lwjgl-glfw "3.3.0"]
[org.lwjgl/lwjgl-glfw "3.3.0" :classifier "natives-macos"]]
:main ^:skip-aot lwjgl-demo.core
:target-path "target/%s"
:profiles {:uberjar {:aot :all}}
:jvm-opts ["-XstartOnFirstThread"] ; for MacOS users
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment