alecthomas / entityx

EntityX - A fast, type-safe C++ Entity-Component system
MIT License
2.23k stars 295 forks source link

CMake: Use 'STATUS' message type for non-error messages #157

Closed lethal-guitar closed 8 years ago

lethal-guitar commented 8 years ago

First, thank you for making entityx! I think it's a great library, easy to use and works very well. A few months ago, I started looking into the ECS approach for a new project, and was almost at the point where I considered creating my own implementation, but then I found entityx and it did everything I needed, so I went with it :)

This is a fairly minor cosmetic improvement, but I still find it useful, since I'm using cmake-gui a lot when developing on Windows. Prior to the changes in this branch, the output from cmake-gui would look like this:

entityx-red

When setting the mode to STATUS for the message() command, it instead looks like the following, which I believe is closer to how it's intended?

entityx-regular

Note: I'm bundling entityx into my project using a submodule, instead of using it as an external library, which is why you see boost and SDL in the screenshots above.