- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I have a package of files, which contains main program, a lot of *.for and a parameter file.
Basically I modify two parameters in main program and some parameters in parameter file. Then I compile them into some executable files. I name them by different names. Then I start to use them in my program using SYSTEM.
I need to remember these different modified parameters to correspond different *.exe. Are there automatic ways to compile them, instead of click here and there in dialog box?
Mike
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I have a package of files, which contains main program, a lot of *.for and a parameter file.
Basically I modify two parameters in main program and some parameters in parameter file. Then I compile them into some executable files. I name them by different names. Then I start to use them in my program using SYSTEM.
I need to remember these different modified parameters to correspond different *.exe. Are there automatic ways to compile them, instead of click here and there in dialog box?
Mike
Isn't it much better to come with a generalized solution, where you have only one exe which deals with whatever set of parameters? You don't open your (for example) .pdf files with different .exe each, don't you? How do said .exes differ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Isn't it much better to come with a generalized solution, where you have only one exe which deals with whatever set of parameters? You don't open your (for example) .pdf files with different .exe each, don't you? How do said .exes differ?
I've thought it before, but hesitate to do it, simply because I am afraid of forgetting the modifications.
I am thinking if I can make those modification and build the *.exe fully automatically. Then I can trace back the modification history without memorizing it
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can create multiple projects that share the same files. or even multiple configurations of the same project. Use preprocessor symbols to define the values that change, enable the preprocessor option and use the defined symbols for your values.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page