New CMake macro issues

Everything about development and the OpenMW source code.
Post Reply
User avatar
AnyOldName3
Posts: 2668
Joined: 26 Nov 2015, 03:25

New CMake macro issues

Post by AnyOldName3 »

I'm trying to tweak the CMake files to take advantage of newer features if available, and thereby stop a good chunk of the "My dev environment won't debug in Visual Studio" threads we get here. I got something working, but Scrawl pointed out that there was a lot of code duplication, and I could probably move the change into a new macro.

My issue is that now I've implemented the macro, although CMake still 'succeeds', the produced project files don't build properly.

Can someone with more (i.e. any) experience with CMake macros take a look at what I've done? The details are in this PR: https://github.com/OpenMW/openmw/pull/1435
Post Reply