- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a .f90 file with dozens of subroutines, each of which require:
#ifdef _WINDOWS #ifdef BITS64 use apm_mod_Win_x64 #else use apm_mod_Win_x86 #endif #else #ifdef BITS64 use apm_mod_Linux_x64 #else use apm_mod_Linux_x86 #endif #endif
Is there a way to define this logic once and then just refer to it in each subroutine?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Never mind - I figured a way around this by copying in 1 file during the build process.
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