Skip to content

Commit

Permalink
show_window hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kapilarny committed Nov 19, 2023
1 parent ed46323 commit 448848c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions updater/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Create a basic C++17 executable project
cmake_minimum_required(VERSION 3.10)
project(JAPIUpdater VERSION 1.0.0 LANGUAGES CXX)

# Set the C++ standard to C++17
set(CMAKE_CXX_STANDARD 17)

# Add the source files
file(GLOB_RECURSE SOURCES "src/*.cpp")

add_link_options(-static -static-libgcc -static-libstdc++ -Wno-pointer-arith)

# Add the executable
add_executable(JAPIUpdater WIN32 ${SOURCES} "app.o")
target_include_directories(JAPIUpdater PRIVATE "../external/toml")

# add winhttp
target_link_libraries(JAPIUpdater PRIVATE winhttp)

0 comments on commit 448848c

Please sign in to comment.