Kaynağa Gözat

Add icon

Again, not the best design, but better than nothing
kiwec 2 hafta önce
ebeveyn
işleme
1e8fc23598
3 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  1. 4 0
      build.bat
  2. BIN
      icon.ico
  3. 1 0
      resource.rc

+ 4 - 0
build.bat

@@ -71,6 +71,10 @@ for /r "src" %%i in (*.cpp) do (
 	)
 )
 
+rem PREPARE ICON
+windres resource.rc -O coff -o obj/icon.o
+<nul set /p "=obj/icon.o " >> build_flags.txt
+
 rem BUILD EXECUTABLE
 <nul set /p "=!LDFLAGS! " >> build_flags.txt
 %LD% @build_flags.txt

BIN
icon.ico


+ 1 - 0
resource.rc

@@ -0,0 +1 @@
+1 ICON "icon.ico"