Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Visual Studio Build Options

Visual Studio Build Options

Scheduled Pinned Locked Moved C / C++ / MFC
visual-studiocsharpc++windows-adminquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    gjr
    wrote on last edited by
    #1

    Does any one know of an easy way to maintain seperate Visual Studio "include file profiles" and quickly switch between them? (Something like a user defined "Platform"?. I use VS to develop both Win32/MFC apps and MS-DOS 16 bit apps and they have completely different include/lib/prog directory locations. At the moment I have to run a batch file to modify the VS registry entries every time I switch from Win to DOS development? There has to be a better way! gjr

    M 1 Reply Last reply
    0
    • G gjr

      Does any one know of an easy way to maintain seperate Visual Studio "include file profiles" and quickly switch between them? (Something like a user defined "Platform"?. I use VS to develop both Win32/MFC apps and MS-DOS 16 bit apps and they have completely different include/lib/prog directory locations. At the moment I have to run a batch file to modify the VS registry entries every time I switch from Win to DOS development? There has to be a better way! gjr

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      You can make a batch file that sets your INCLUDE and LIB paths, then runs msdev with the /USEENV switch. That makes the IDE use the environment variables instead of the directores set in the Options. --Mike-- http://home.inreach.com/mdunn/ #include "witty_sig.h" :love: your :bob: with :vegemite: and :beer:

      L 2 Replies Last reply
      0
      • M Michael Dunn

        You can make a batch file that sets your INCLUDE and LIB paths, then runs msdev with the /USEENV switch. That makes the IDE use the environment variables instead of the directores set in the Options. --Mike-- http://home.inreach.com/mdunn/ #include "witty_sig.h" :love: your :bob: with :vegemite: and :beer:

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Or, you could write a Add-in to modify the registry entries. :rolleyes:

        1 Reply Last reply
        0
        • M Michael Dunn

          You can make a batch file that sets your INCLUDE and LIB paths, then runs msdev with the /USEENV switch. That makes the IDE use the environment variables instead of the directores set in the Options. --Mike-- http://home.inreach.com/mdunn/ #include "witty_sig.h" :love: your :bob: with :vegemite: and :beer:

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Michael Many thanks. This is much more flexible than my registry hacks. It works a treat as I use LNKs to run different projects in any case. Just goes to show one should always check out a program's command line options before complaining about lack of flexibility. By the way, does anyone know if VS .NET is going to be more flexible in handling project specific settings?? Perhaps even allowing you to define editor color settings for ASM files?? Define a color for virtual spaces?? (The whole VS IDE and editor seems to be several generations behind such tools as Ed for Windows and Codewright in these areas.) Gary

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups