Advertisement

CMake setup broken for VS2019

Started by June 28, 2020 11:24 AM
3 comments, last by WitchLord 4 years, 4 months ago

Trying to compile library on VS2019 fails with

c1xx : fatal error C1083: Cannot open source file: 'OFF': No such file or directory [D:\a\angelscript\angelscript\Build\angelscript.vcxproj]

https://github.com/wipe2238/angelscript/runs/815685427?check_suite_focus=true#step:4:54

(Log into GitHub for a full log)

Games are meant to be created, not played...

Thanks for letting me know.

I don't use CMake myself. Would it be possible for you to identify the fix needed?

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Advertisement

Dang, i was hoping something changed in that area since we talked about CMake few years back :S

Anyway. I replaced deprecated property with something more modern and added extra check so at least build finishes as it should.

Diff https://github.com/codecat/angelscript-mirror/compare/master...wipe2238:cmake#diff-a0767a4319d71c87117e891c8675fb0e​ (ignore anything other than CMakeLists,txt, that's just test setup)

Test https://github.com/wipe2238/angelscript/runs/823524136?check_suite_focus=true#step:4:0

Games are meant to be created, not played...

Fixed in rev 2656

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement