- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm using Intel Visual Fortran Composer XE for Windows 2013 SP1.3.202.
Some code I have uses Conditional Compilation to build two different applications.
I build them one at a time, changing the value of conApplicationName back and forth between 1 and 2.
Currently, the project is called App1, so the executable is App1.exe.
When I build App2, I manually change the App1.exe name to App2.exe.
This is messy and error-prone.
Is it possible to access a Conditional Compilation constant in a Post-Build Event?
Regards,
Leigh
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would use two different project configurations for this. Each configuration can have its own EXE name and preprocessor defines.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, Steve.
Regards,
Leigh

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