Skip to content

Remove MSVC and other compiler specific code.#213

Open
fandjelo wants to merge 1 commit intolloyd:masterfrom
fandjelo:fix-mingw32-compilation
Open

Remove MSVC and other compiler specific code.#213
fandjelo wants to merge 1 commit intolloyd:masterfrom
fandjelo:fix-mingw32-compilation

Conversation

@fandjelo
Copy link
Copy Markdown

@fandjelo fandjelo commented Oct 5, 2018

You should try not to use compiler specific code in the cmake scripts,
because if not implemented carefully it can hurt cross compilation using
other compilers, in this case for example mingw instead of msvc. All
compiler specific settings should be implemented in cmake toolchain
files, everything else bloats your build scripts in a best case. In a
worst case it ruins your build procedure completely.

You should try not to use compiler specific code in the cmake scripts,
because if not implemented carefully it can hurt cross compilation using
other compilers, in this case for example mingw instead of msvc. All
compiler specific settings should be implemented in cmake toolchain
files, everything else bloats your build scripts in a best case. In a
worst case it ruins your build procedure completely.
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.

1 participant