build - How can I determine the project directory and other environmental variables in SunStudio? -
I am currently trying to add a post build step to create / create a SunStudio project, but I Need to continue is the directory of the project Learn $ {PWD} does not return the current directory and I can not find any environmental variable like $ {PROJECTDIR} or not.
Actually my problem with a more comprehensive way is that when I create a project, SunStudio can not find any document about the environmental variable to be set, so with that information Any answer would be even better.
Thank you
I finally discovered a solution I used to pre-make my makefile In the build target an "env" command is placed:
.build-pre: env All this appeared environmental variable which is SunStudio (=> DMK) is using the project to build, thus I came to know that the project directory is set in the $ {DMAKE_PWD} variable.
Comments
Post a Comment