*/}}
Jelajahi Sumber

New structure

Yiming Wu 1 tahun lalu
induk
melakukan
c16c8d8597
2 mengubah file dengan 24 tambahan dan 0 penghapusan
  1. 4 0
      .gitignore
  2. 20 0
      CMakeLists.txt

+ 4 - 0
.gitignore

@@ -0,0 +1,4 @@
+build/*
+.vscode/
+screenshots/
+*.udf

+ 20 - 0
CMakeLists.txt

@@ -0,0 +1,20 @@
+cmake_minimum_required(VERSION 3.1)
+project(OurPaint)
+
+find_package(lagui REQUIRED)
+
+add_definitions(-w)
+
+include_directories(
+    ${LAGUI_INCLUDE_DIRS_ALL}
+)
+
+file(GLOB_RECURSE OurPaintFiles 
+    ourpaint.c ouroperations.c
+)
+
+add_executable(OurPaint ${OurPaintFiles})
+
+target_link_libraries(OurPaint
+    ${LAGUI_SHARED_LIBS}
+)