Skip to content

Build/mingw - #4

Open
batteryshark wants to merge 4 commits into
SirusDoma:developfrom
batteryshark:build/mingw
Open

batteryshark wants to merge 4 commits into
SirusDoma:developfrom
batteryshark:build/mingw

Conversation

@batteryshark

Copy link
Copy Markdown

Support for Windows cross-compilation via gcc/mingw

static constexpr GUID id = {0x8d536ca1, 0x0cca, 0x4956, {0xa8, 0x37, 0x78, 0x69, 0x63, 0x75, 0x55, 0x84}};
return id;
}
#endif

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why GUID need to be change in mingw? any reference / sources?
Also, I think it is better to do this in SFML fork rather than here

Comment thread CMakeLists.txt
Comment on lines +82 to +86
if(MSVC)
target_compile_options(${TARGET} PRIVATE /bigobj)
else()
target_compile_options(${TARGET} PRIVATE -Wa,-mbig-obj)
endif()

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wish to refactor to shrink embedded resource or workaround so this flags are never needed, but I guess this will do for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants