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. Command line complilation

Command line complilation

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++questioncsharpvisual-studio
8 Posts 5 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.
  • P Offline
    P Offline
    Pavan_Putra
    wrote on last edited by
    #1

    Hi all ... I m having several solutions containing several VC++ projects depending on each other in .net 2003 IDE. I have to compile those solutions from command line (for continous intregation and automating the process )or any other way which could be automated and is free. How can i do that.?? I tried Using Nmake (for a simple solution for testing only )but the problem is that it is giving error "fatal error U1073: don't know how to make 'CI_POC.cpp'" Can someone help me out ...!!!!!!!!!!!!! Thanx a zillion in advance ..

    It's not enough to be the best, when you have capability to be great....

    K S 2 Replies Last reply
    0
    • P Pavan_Putra

      Hi all ... I m having several solutions containing several VC++ projects depending on each other in .net 2003 IDE. I have to compile those solutions from command line (for continous intregation and automating the process )or any other way which could be automated and is free. How can i do that.?? I tried Using Nmake (for a simple solution for testing only )but the problem is that it is giving error "fatal error U1073: don't know how to make 'CI_POC.cpp'" Can someone help me out ...!!!!!!!!!!!!! Thanx a zillion in advance ..

      It's not enough to be the best, when you have capability to be great....

      K Offline
      K Offline
      KingsGambit
      wrote on last edited by
      #2

      You can try devenv.com with /Build commandline option

      P 1 Reply Last reply
      0
      • K KingsGambit

        You can try devenv.com with /Build commandline option

        P Offline
        P Offline
        Pavan_Putra
        wrote on last edited by
        #3

        sorry but i didn't get what you want to say ....?

        It's not enough to be the best, when you have capability to be great....

        1 Reply Last reply
        0
        • P Pavan_Putra

          Hi all ... I m having several solutions containing several VC++ projects depending on each other in .net 2003 IDE. I have to compile those solutions from command line (for continous intregation and automating the process )or any other way which could be automated and is free. How can i do that.?? I tried Using Nmake (for a simple solution for testing only )but the problem is that it is giving error "fatal error U1073: don't know how to make 'CI_POC.cpp'" Can someone help me out ...!!!!!!!!!!!!! Thanx a zillion in advance ..

          It's not enough to be the best, when you have capability to be great....

          S Offline
          S Offline
          SandipG
          wrote on last edited by
          #4

          Pavan_Putra wrote:

          I have to compile those solutions from command line (for continous intregation and automating the process )or any other way which could be automated and is free.

          Check here[^] I just tried

          devenv "E:\Test\test\test.sln" /rebuild debug

          and it worked. I hope it helps.

          Regards, Sandip.

          P 1 Reply Last reply
          0
          • S SandipG

            Pavan_Putra wrote:

            I have to compile those solutions from command line (for continous intregation and automating the process )or any other way which could be automated and is free.

            Check here[^] I just tried

            devenv "E:\Test\test\test.sln" /rebuild debug

            and it worked. I hope it helps.

            Regards, Sandip.

            P Offline
            P Offline
            Pavan_Putra
            wrote on last edited by
            #5

            I m also trying the same through command line but it is giving error that devenv is not recognized as internal or external command. Also i am using .net 2003 studio. Thanx.

            It's not enough to be the best, when you have capability to be great....

            M P 2 Replies Last reply
            0
            • P Pavan_Putra

              I m also trying the same through command line but it is giving error that devenv is not recognized as internal or external command. Also i am using .net 2003 studio. Thanx.

              It's not enough to be the best, when you have capability to be great....

              M Offline
              M Offline
              Michael Schubert
              wrote on last edited by
              #6

              D'oh. How about adding the path to devenv.exe to your "Path" environment variable?

              1 Reply Last reply
              0
              • P Pavan_Putra

                I m also trying the same through command line but it is giving error that devenv is not recognized as internal or external command. Also i am using .net 2003 studio. Thanx.

                It's not enough to be the best, when you have capability to be great....

                P Offline
                P Offline
                Pavan_Putra
                wrote on last edited by
                #7

                It is recognizing the command after i have dumped devenv.exe in system32 but it is giving error that it is not a valid solution file. While we do use same sln file for opening/building solution through .Net 2003 IDE. Thanx a Zillion.

                It's not enough to be the best, when you have capability to be great....

                _ 1 Reply Last reply
                0
                • P Pavan_Putra

                  It is recognizing the command after i have dumped devenv.exe in system32 but it is giving error that it is not a valid solution file. While we do use same sln file for opening/building solution through .Net 2003 IDE. Thanx a Zillion.

                  It's not enough to be the best, when you have capability to be great....

                  _ Offline
                  _ Offline
                  _Superman_
                  wrote on last edited by
                  #8

                  When take a command prompt, the Visual Studio environment is not set. You can either set it by running the vcvars___.bat which you can find inside C:\Program Files\Microsoft Visual Studio\VC\bin or you can take the Visual Studio Command Prompt from Start -> All Programs -> Microsoft Visual Stdio -> Visual Studio Tools. From the command prompt type devenv /? to see all the command line option that it supports. You may have to create a batch file to execute each of your solutions in what ever order you want.

                  «_Superman_» I love work. It gives me something to do between weekends.
                  Microsoft MVP (Visual C++)

                  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