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. many projects -> solution

many projects -> solution

Scheduled Pinned Locked Moved C / C++ / MFC
c++help
2 Posts 2 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.
  • J Offline
    J Offline
    jimNLX
    wrote on last edited by
    #1

    I have 16 project that I only have the source code for that I would like to put into a Solution. I have been able to create a solution with all the 16 project directories, but when I view this in the Solution Config it only show the Project for which the Solution was create. Thus I can't compile and run each of the 16 project by them selves. Kind of looks like this: Solution A StartServer .C/.Cpp/.h ShutdownServer .C/.Cpp/.h . . . RunReport .C/.Cpp/.h Directory file structure is: c:\Solution A\ c:\Solution A\StartServer\ c:\Solution A\ShutdownServer\ ... c:\Solution A\RunReport Config file only shows Solution A thus it compile all 16 everytime... I should be able to select on of the projects and compile/run it. Any help would be much appriciated. Jim

    A 1 Reply Last reply
    0
    • J jimNLX

      I have 16 project that I only have the source code for that I would like to put into a Solution. I have been able to create a solution with all the 16 project directories, but when I view this in the Solution Config it only show the Project for which the Solution was create. Thus I can't compile and run each of the 16 project by them selves. Kind of looks like this: Solution A StartServer .C/.Cpp/.h ShutdownServer .C/.Cpp/.h . . . RunReport .C/.Cpp/.h Directory file structure is: c:\Solution A\ c:\Solution A\StartServer\ c:\Solution A\ShutdownServer\ ... c:\Solution A\RunReport Config file only shows Solution A thus it compile all 16 everytime... I should be able to select on of the projects and compile/run it. Any help would be much appriciated. Jim

      A Offline
      A Offline
      Ali Rafiee
      wrote on last edited by
      #2

      To do this you either have to right click on the project in the Solution Explorer window and select Project Only/Build Only... from the menu Or you can select the project you want to build as the startup project, and under the build menu select the second set of build commands, the ones that have the project name in the menu item. Selecting Build Solution (Ctrl+B) will build the entire solution which is all the project. Also check the dependency of the projects to make sure they are correct. (Menu Project/Project Dependencies. AliR. Visual C++ MVP

      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