Page 1 of 1

importing project

Posted: Sat May 17, 2008 1:51 pm
by eytanradian
How do I import a microsoft VC++ (version 6) into codelite?
is there a cook book to make the process smooth and easy?
thanks

Re: importing project

Posted: Sat May 17, 2008 2:36 pm
by eranif
HI,

Currently, CodeLite is only able to import VS7.1 & 8 workspace.

There are several ways of doing it:

Convert the DSW to SLN by using more recent version of Visual Studio, and then import it into CodeLite

OR
  • Create new empty workspace
    Create new project and add it to the workspace
    Right click on the project and select 'Import files from directory'
    select the root folder of your workspace and import all files.
However, the above steps, will only import the files into single project.
So you will need to edit the settings manually.

There is another options, there is a script named: "dsw2mak"
which comes with MinGW, you can run it on a dsw and it will create a makefile from the workspace/project.

And then instead of defining settings manually, just tell codelite that this project is a 'Custom Build' project and point it to the makefile to run.

HTH,
Eran