From a6dd9e7283906b40370ef4cee9b9c235695cc561 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Tue, 10 Nov 2020 17:34:16 +0100 Subject: [PATCH] Add icon --- .gitignore | 2 ++ CMakeLists.txt | 6 +++--- icon.ico | Bin 0 -> 21662 bytes res.rc | 1 + 4 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 icon.ico create mode 100644 res.rc diff --git a/.gitignore b/.gitignore index e1bb5a036..6b1dfb04a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ cmake-build-debug/ + +cmake-build-release/ diff --git a/CMakeLists.txt b/CMakeLists.txt index 12851ac39..7c2f1fbc6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,13 +3,11 @@ project(HexEditor) set(CMAKE_CXX_STANDARD 20) -find_library(GLFW REQUIRED glfw3) +find_library(GLFW REQUIRED glfw3s) find_library(OPENGL REQUIRED OpenGL) include_directories(include ${GLFW_INCLUDE_DIRS} libs/ImGui/include libs/glad/include) -message(STATUS ${GLFW_STATIC_LIBRARIES}) - add_executable(HexEditor source/main.cpp source/window.cpp @@ -25,6 +23,8 @@ add_executable(HexEditor libs/ImGui/source/imgui_widgets.cpp libs/ImGui/source/imgui_impl_glfw.cpp libs/ImGui/source/imgui_impl_opengl3.cpp + + res.rc ) target_link_libraries(HexEditor glfw3) diff --git a/icon.ico b/icon.ico new file mode 100644 index 0000000000000000000000000000000000000000..c2a9337b31e57a597d15eeb554b45a92dcf87993 GIT binary patch literal 21662 zcmeI3F>X^)5Jg{B02LiSE-BeT+O$aQ19pHr|IomW$WH9SaT`hsB=g?4z8FQi&T%qK z%+olsJ(^sfJ9Ga}is+@3i~4naUFz$ij2}yRQ%ZSPpS4xK*JtZbj}M2pe9Z(hflMG1 z$OJNhOdu1;1Tuk4AQL$61lHdcuXi`Y=k4n9_HG>Z&wWmu)v#<_@6E|{DBD)h!D5bRYx`t( zqOnX>6AsZRzU@bHdiAn-s+#OhG>UKgghMozsp?2huU;x!+b6pdjb*BuaEM0nZ9kIJ ztC!7F)ns>~QGDAc9HOyIRY!7q^-|f|KG~gUEK}8lLo|wS`;nYpy=r>9pKltpE|IdN$PIc3LbTfR}jcQ|o-$vannS%VzsliywQJ;2x9dK0HuZj( O>-nZEFL-~RIKv;T1|JIm literal 0 HcmV?d00001 diff --git a/res.rc b/res.rc new file mode 100644 index 000000000..ff5fdbe49 --- /dev/null +++ b/res.rc @@ -0,0 +1 @@ +id ICON "icon.ico" \ No newline at end of file