ok
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@@ -1,3 +1,6 @@
|
|||||||
/.idea/*
|
/.idea/*
|
||||||
/data.db
|
/data.db
|
||||||
/.old/*
|
/.old/*
|
||||||
|
/cash/*
|
||||||
|
cyzg.exe
|
||||||
|
embedded.h
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
cmake_minimum_required(VERSION 4.0)
|
|
||||||
project(cyzg C)
|
|
||||||
|
|
||||||
set(CMAKE_C_STANDARD 11)
|
|
||||||
|
|
||||||
add_executable(cyzg main.c)
|
|
||||||
|
|
||||||
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Os -DNDEBUG")
|
|
||||||
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -Os -DNDEBUG")
|
|
||||||
|
|
||||||
|
|
||||||
4
build.bat
Normal file
4
build.bat
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
python embed.py
|
||||||
|
7z a -tzip -mx=9 cyzg.zip main.py backend.py ./components/*.py
|
||||||
|
REM 7z a -tzip -mx=9 data.db.zip data.db
|
||||||
|
gcc -O2 -s main.c -o cyzg.exe -Wl,--gc-sections -Wl,--strip-all
|
||||||
Reference in New Issue
Block a user