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 000000000..c2a9337b3 Binary files /dev/null and b/icon.ico differ 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