Skip to content

Fix CMake MFC detection and link flag conflicts#6

Merged
Gumball2415 merged 5 commits intoDn-Programming-Core-Management:masterfrom
nyanpasu64:fix-cmake
Sep 19, 2020
Merged

Fix CMake MFC detection and link flag conflicts#6
Gumball2415 merged 5 commits intoDn-Programming-Core-Management:masterfrom
nyanpasu64:fix-cmake

Conversation

@nyanpasu64
Copy link
Copy Markdown
Collaborator

Previously the MFC detection would sometimes fail due to mismatched /MT vs. /MD. This has been fixed. MFC detection is still erroneously(?) cached even when build flags change.

Previously, reordering set_target_properties(...LINK_FLAGS) would cause set of link flags to overwrite the other, breaking the manifest and theming. Now the options are appended instead.

I also renamed the target to the ${exe} variable because I find it clearer.

@Gumball2415 Gumball2415 merged commit 6804cb0 into Dn-Programming-Core-Management:master Sep 19, 2020
@nyanpasu64 nyanpasu64 deleted the fix-cmake branch April 5, 2021 21:48
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