diff options
author | 2025-05-14 22:37:56 +0200 | |
---|---|---|
committer | 2025-05-14 22:37:56 +0200 | |
commit | c41f692089ec680ca9ef2436d90ec3c599aeb86d (patch) | |
tree | 3c1bab033f07b033b897b28683774abc68240bcc /CMakeLists.txt | |
download | tris-c41f692089ec680ca9ef2436d90ec3c599aeb86d.tar.gz tris-c41f692089ec680ca9ef2436d90ec3c599aeb86d.zip |
Inital commit
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..feda5cf --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,29 @@ +#- +# This file is part of Tris Game. +# +# Tris Game is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Tris Game is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Tris Game. If not, see <http://www.gnu.org/licenses/>. +# + +cmake_minimum_required(VERSION 3.10) +project(tris) + +set(OpenGL_GL_PREFERENCE GLVND) +find_package(OpenGL REQUIRED) + +add_executable(tris + src/main/main.c + src/main/ui/ui.h + src/main/ui/x11/ui.c) + +target_link_libraries(tris PRIVATE X11 GL GLX) |