- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am using environmental variables in my project settings for C++.
ie for Intermediate Directory
"$(PRJTMPDIR)$(ProjectName)_T$(ConfigurationName)"
$(ProjectName) and $(ConfigurationName) are variables defined by VC, but $(PRJTMPDIR) is an env. variable defined as "C:Development emp" on my machine.
The problem is if I do this in Fortran static lib project, instead reading the env. variable, it just creates the directories under the current project directory, and creates them with the variable name ie $(PRJTMPDIR).
I can understand if it can not to read the VC set variables but I would expect it to read the global env. variables.
Is there any other step that I should take to force the fortran compiler to use the env. variable values instead of their names?
Thanks.
I am using environmental variables in my project settings for C++.
ie for Intermediate Directory
"$(PRJTMPDIR)$(ProjectName)_T$(ConfigurationName)"
$(ProjectName) and $(ConfigurationName) are variables defined by VC, but $(PRJTMPDIR) is an env. variable defined as "C:Development emp" on my machine.
The problem is if I do this in Fortran static lib project, instead reading the env. variable, it just creates the directories under the current project directory, and creates them with the variable name ie $(PRJTMPDIR).
I can understand if it can not to read the VC set variables but I would expect it to read the global env. variables.
Is there any other step that I should take to force the fortran compiler to use the env. variable values instead of their names?
Thanks.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As far as I can tell from the MS documentation, what you're attempting to do isn't supposed to work. The $() syntax is documented as for "Development Environment Macros", not environment variables.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page