Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2b8c1fc

Browse filesBrowse files
committed
mingw: Add cmake snippet for easier setup
Signed-off-by: Ben Collins <bcollins@libjwt.io>
1 parent 4ea993a commit 2b8c1fc
Copy full SHA for 2b8c1fc

File tree

1 file changed

+5
-0
lines changed
Filter options

1 file changed

+5
-0
lines changed

‎cmake/mingw-w64.cmake

Copy file name to clipboard
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# cmake -DCMAKE_TOOLCHAIN_FILE=mingw-w64.cmake
2+
set(CMAKE_SYSTEM_NAME Windows)
3+
set(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc)
4+
set(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)
5+
set(CMAKE_RC_COMPILER x86_64-w64-mingw32-windres)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.