MantisBT - VCMI
View Issue Details
0002126VCMIOtherpublic2015-03-10 10:402016-11-11 08:22
Mixaill 
Warmonger 
urgentblockN/A
closedfixed 
AnyAnyAny
0.97c 
0.97c0.97c 
0002126: CMake builds is briken
Same file were moved or delete in recent commits. .CMake files need to be updated according these changes.
No tags attached.
Issue History
2015-03-10 10:40MixaillNew Issue
2015-03-10 10:40MixaillStatusnew => assigned
2015-03-10 10:40MixaillAssigned To => Mixaill
2015-03-10 12:46KantorNote Added: 0005606
2015-03-10 13:22WarmongerNote Added: 0005607
2015-03-10 13:31WarmongerNote Edited: 0005607bug_revision_view_page.php?bugnote_id=5607#r2870
2015-03-10 16:34SXXNote Added: 0005608
2015-03-10 19:11WarmongerNote Added: 0005612
2015-03-10 19:11WarmongerStatusassigned => resolved
2015-03-10 19:11WarmongerFixed in Version => 0.97c
2015-03-10 19:11WarmongerResolutionopen => fixed
2015-03-10 19:11WarmongerAssigned ToMixaill => Warmonger
2016-11-11 08:22SXXStatusresolved => closed

Notes
(0005606)
Kantor   
2015-03-10 12:46   
Right, seems that some of headers in 'lib' folder contain wrong include directives, mostly in 'lib\spells\CSpellHandler.cpp' there is #include "SpellMechanics.h", but should be #include "ISpellMechanics.h", and as I see there is lack of CDefaultSpellMechanics.h header in the same folder.
(0005607)
Warmonger   
2015-03-10 13:22   
(edited on: 2015-03-10 13:31)
New SpellMechanics.h header was added recently on top of ISpellMechanics. Seems that I forgot to upload it.

(0005608)
SXX   
2015-03-10 16:34   
As far as I get CDefaultSpellMechanics.h is completely missing in develop:
https://github.com/vcmi/vcmi/tree/develop/lib/spells [^]
While it's there in @AVS branch:
https://github.com/alexvins/vcmi/blob/SpellsRefactoring5/lib/spells/CDefaultSpellMechanics.h [^]
(0005612)
Warmonger   
2015-03-10 19:11   
Should be fixed in https://github.com/vcmi/vcmi/commit/b5c270082b7f7702c740e3e2e488ab2ba24fbc68 [^]