2011/2/21 Łukasz Tasz <luk...@tasz.eu>:
> Hi All,
>
> Could somebody help me how to provide own predefined make varibable from
> cmake configuration?
> Such a variable should be avaliable in the context of all generated
> makefiles.

Since the makefiles are generated by CMake WHY do you need
to define a "make" var?

What do you want to do ?

CMake was not designed to let you decide generator specifics things.


>
> I would like to receive output in a way:
> in master Makefile:
>
> export MY_OWN_DEBUG_VAR="3"
>
> MY_OWN_DEBUG_VAR should be predefined inside cmake, of passed to cmake via
> -DMY_OWN_DEBUG_VAR="3"
>
> passing throu make macro is not a sollution.

What is your use case?


-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to