importing project

General questions regarding the usage of CodeLite
eytanradian
CodeLite Curious
Posts: 1
Joined: Sat May 17, 2008 1:48 pm
Contact:

importing project

Post by eytanradian » Sat May 17, 2008 1:51 pm

How do I import a microsoft VC++ (version 6) into codelite?
is there a cook book to make the process smooth and easy?
thanks

User avatar
eranif
CodeLite Plugin
Posts: 5997
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: importing project

Post by eranif » Sat May 17, 2008 2:36 pm

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
Make sure you have read the HOW TO POST thread

Post Reply