I searched through all threads that may help but I could not find any related answer. So I hope this question is not duplicate.
I have developed simple options like custom commands for GM. These developments are straightforward so I could add my preferred command with less than four times compilation.
On the other hand, I want to develop a custom arena join system which work with different structures including: GroupQueueInfo, PlayerQueueInfo (BattlegroundQueue.h). In addition, I need to use other functions like ObjectAccessor::FindPlayerByName. In this regard, I am working with many parts of the source so it is very natural to face many and many bugs and errors. If I want to develop in the way that each time I need to compile the source from scratch, it may takes decades for me to finish the development.
Therefore, I was looking for a solution to minimize compilation as much as is possible. I created custom CMakeLists to include required files separately, however, it seems the source is compiled with custom options so it failed.
I appreciate it if someone could guide me to develop a custom code with minimum compilation or at least options that help to recompile only changed file not all of the source.
Thanks for your response. Could you explain how should I setup developing environment that recompilation happens only for changed file? If I use “make” command, it would recompile from scratch
How sure are you about this answer? You mean after decades of invention of C++, there is no solution to have a hot reload or at least inline compilation option??? I wish it is not true because my system is a little out of date so I should wait over 3 hours