Compiling Single File

I'm trying to compile a single cpp file. I'm migrating a project from someone else's source to my way of doing things a few files at a time so I don't get lost.
The source I'm currently working with is Borg 2.28 from
http://caesum.com/download.php


Answer this question

Compiling Single File

  • krinpit

    Creating a new project anytime you want to isolate errors in just one file doesn't seem worth it. However I did try to create an empty project and ran into the "huge dialog box" problem I mentioned in an earlier post. Creating a new project for the file and programs to unit test the file may be worth it though.

  • Jojy

    You've left us to guess what the problem is

    First of all, you need to create an empty project that you can add files to.  Then, I wish you luck - the whole point of a bunch of files being in a project is that they work together, and tend to be somewhat reliant on one another.  It's unlikely there will be too many classes you can compile and run in isolation, unless they are helper classes.

  • yadav.shivam

    I'm getting helpful results attempting to compile it with CL on the command line. Jsut wish I could do it in the IDE. I forgot to mention that I added the Compile... command to the Debug menu, but it's greyed out.


    I'm not interested in the "run" part at this point in time. I just want to find out what's become undefined with the changes I'm making.

  • Miljac

    If you can compile on the command line, I can't imagine why you can't create an empty project, add the files and compile.  What happens

  • Compiling Single File