How to add definitions with CMake?
Posted: Sat Jan 26, 2019 6:01 pm
Hello. I want to add some preprocessor flags to both my sources and other project components.
For make I create with
How can I do that with CMake?
For make I create
Code: Select all
Makefile.projbuild
Code: Select all
CPPFLAGS += -DMY_LOVELY_DEFINITION