Skip to content

Conversation

@fandjelo
Copy link

@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