On Thu, Aug 27, 2009 at 3:11 PM, Andrey Maslennikov <
andrew.maslenni...@gmail.com> wrote:
> My case: I have one file which can be compiled into 4 different binaries
> using macros. For this I use add_definitions() and remove_definitions()
> commands. But as I understand these commands has global
On Thu, Aug 27, 2009 at 11:11:54PM +0400, Andrey Maslennikov wrote:
> file. How can I define and undefine macros in *one* CMakeLists file?
>
> For this case more useful another command - set_target_properties() with
> property COMPILE_FLAGS. It really helped me, but I was confronted with
> difficu
My case: I have one file which can be compiled into 4 different binaries
using macros. For this I use add_definitions() and remove_definitions()
commands. But as I understand these commands has global effect in CMakeLists
file. How can I define and undefine macros in *one* CMakeLists file?
For thi