[Qt-creator] Build steps -> additional arguments -> INCPATH+=$ENVIRONMENT_VARIABLE ?
Christophe Meessen
meessen at cppm.in2p3.fr
Fri Jul 17 16:36:58 CEST 2009
Hello,
I'm trying to use a library that has unfortunately all its header files
scattered in many directories.
So I have to add many include directory paths.
I would like to be able to define an environment variable that contains
the list of include paths to add as include directory and add this to
the additional arguments.
The library is MITK and I wish to be able to define an environment
variable MITK_INCLUDE_PATHS with the value "dir1:dir2:dir3", etc. And in
the additional arguments field of the Build steps, I though I could add
LIBPATH+=MITK_INCLUDE_PATHS.
It doesn't work of course. I then tried LIBPATH+=$(MITK_INCLUDE_PATHS)
which also doesn't work.
Is this possible ? If yes, how ?
The environment variable may not be the best way to do it. But at least,
it is easy to predefine and inherit in every new project.
Any help would be welcomed.
--
Ch. Meessen
More information about the Qt-creator-old
mailing list