- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have created a static library and I'd like to set the option for accessing it from the Command Line option of the IDE.
I have found that the following option works if setat the Linker Command Line option field:
/SUBSYSTEM:CONSOLE "D:Fortran ProjectsMyLibrarydebugMyLibrary.lib"
Is this the recommended way?
Thank you,
Yair
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well, I actually used your 1st recommendation and then I saw in the Linker Command Line All Options field that there appears:
/SUBSYSTEM:CONSOLE mylibname
So I guess I can equivalently put that option manually in the Additional Options field on the same page. Is there a difference between these two?
I generally prefer to put all my options on the Command Line pages of both the Fortran and the Linker property pages so I can easily see what changes I've made to the defaults.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hmmm... apparently /SUBSYSTEM:CONSOLE was already there. What was added is just the library name, which I think can equivalently be added to the Linker's Command Line Property Page (I've tried it and it works).
Is that so?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page