Skip to content

Commit

Permalink
this might be it
Browse files Browse the repository at this point in the history
  • Loading branch information
infeo committed Nov 22, 2024
1 parent 121d944 commit 22aad22
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
WIN_SDK_VERSION ?= 10.0.22621.0
MSVC_VERSION ?= 14.41.34120
HEADERS := /I".\src\main\headers" \
/I"${JAVA_HOME}\include" \
/I"${JAVA_HOME}\include\win32" \
/I"C:\Program Files (x86)\Windows Kits\10\Include\$(WIN_SDK_VERSION)\cppwinrt" \
/I"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\$(MSVC_VERSION)\include"
HEADERS := -I".\src\main\headers" \
-I"${JAVA_HOME}\include" \
-I"${JAVA_HOME}\include\win32" \
-I"C:\Program Files (x86)\Windows Kits\10\Include\$(WIN_SDK_VERSION)\cppwinrt" \
-I"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\$(MSVC_VERSION)\include"
SOURCES := $(wildcard src/main/native/*.cpp)

########
Expand All @@ -13,8 +13,8 @@ all: install

install:
cl -EHsc /std:c++17 -LD -W4 -guard:cf \
-Fe"src/main/resources/integrations.dll" \
-Fo"target/" \
$(HEADERS) $(SOURCES) \
-link -NXCOMPAT -DYNAMICBASE \
crypt32.lib shell32.lib ole32.lib uuid.lib user32.lib windowsapp.lib
-Fe"src/main/resources/integrations.dll" \
-Fo"target/" \
$(HEADERS) $(SOURCES) \
-link -NXCOMPAT -DYNAMICBASE \
crypt32.lib shell32.lib ole32.lib uuid.lib user32.lib windowsapp.lib

0 comments on commit 22aad22

Please sign in to comment.