Category "cmake"

How to get colorized output with cmake?

I want to have message function in CMakeLists.txt which output colorized text. Maybe an escape sequence. For example: message("\x1b[31m;This text must be in r

How do I change order of Libs in a cmake file?

Link order matters. I have observed that when I compile my program with: gcc `pkg-config --cflags --libs gtk+-2.0` program.cpp -o program which produces a nu

CMake and finding other projects and their dependencies

Imagine the following scenario: Project A is a shared library which has several dependencies (LibA, LibB, and LibC). Project B is an executable that has a depen

CMake and finding other projects and their dependencies

Imagine the following scenario: Project A is a shared library which has several dependencies (LibA, LibB, and LibC). Project B is an executable that has a depen

CMake and finding other projects and their dependencies

Imagine the following scenario: Project A is a shared library which has several dependencies (LibA, LibB, and LibC). Project B is an executable that has a depen