*/}}
Browse Source

New structure

Yiming Wu 1 year ago
parent
commit
c16c8d8597
2 changed files with 24 additions and 0 deletions
  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}
+)