#97 IDE project file generation

open
cpptasks (103)
5
2004-06-26
2004-06-26
Curt Arnold
No

The attached patch is enables the generation of project files for
C++BuilderX and provides stubs for Microsoft Visual Studio
and .NET project files which will be forthcoming shortly. (I need to
submit to CVS to switch platforms). Until major refactoring, these
are only going to work tolerably for homogeneous compilations
(where every C++ file has the same options). The current
C++BuilderX implementation only supports shared libraries
compiled with GCC on Linux and only captures -I and -D command
line options.

Usage:

<cc>
<project outfile="${base.dir}/cppunit.cbx"
type="cbuilderx" name="cppunit"/>
</cc>

I've love to support Apple XCODE but the format looks a bit tricky.
Metrowerk's CodeWarrior appeared to be binary, so apparently out
of the question. Eclipse CDT appears to compile anything in the
target directories, so the value of generating a project file is small.

If anyone wants to have a go at it, try a shot at other IDE's or
improve these. Please feel free to pitch in.

Discussion

  • Curt Arnold

    Curt Arnold - 2004-07-08

    Logged In: YES
    user_id=27193

    This attachment fleshes out the Visual Studio project
    writers. A skeletal DLL building project is created with
    fixed compiler switches, libraries but containing a correct
    file list. Visual Studio 5 and 6 are fairly strict on the
    format (especially the use of crlf's instead of lf), so it
    is best to make small incremental steps.

     
  • Curt Arnold

    Curt Arnold - 2004-07-08

    Skeletal Visual Studio project writers

     
  • Curt Arnold

    Curt Arnold - 2004-07-13

    MSDEV project improvements

     
  • Curt Arnold

    Curt Arnold - 2004-07-13

    Logged In: YES
    user_id=27193

    msdev-project.txt should now support exe and DLL creation.

     
  • Curt Arnold

    Curt Arnold - 2004-07-13

    Logged In: YES
    user_id=27193

    Adds initial XCode support, generates shared library
    project, adds source files, include directories and
    preprocessor macros. Ignores other settings.

     
  • Curt Arnold

    Curt Arnold - 2004-07-13

    Initial Xcode support

     
  • Curt Arnold

    Curt Arnold - 2004-08-24

    Logged In: YES
    user_id=27193

    The cbx-project.patch improves CBuilderX project generation.
    Linux GCC project support seems pretty reasonable now.

     
  • Curt Arnold

    Curt Arnold - 2004-08-24

    CBuilderX improvements

     
  • Curt Arnold

    Curt Arnold - 2004-08-25

    Logged In: YES
    user_id=27193

    Improvements to Visual Studio 97 and 6 project generation.
    Most compiler and linker settings are captured. Project
    browser works in VS 97, VC 6 will build but appears to have
    no files in the project.

     
  • Curt Arnold

    Curt Arnold - 2004-08-25

    Improvements for Visual Studio 97/6 project gen

     
  • Curt Arnold

    Curt Arnold - 2004-08-29

    Fixes null pointer during project generation when no outfile is specified

     
  • Curt Arnold

    Curt Arnold - 2004-08-29

    Support EXE projects in XCode

     
  • Curt Arnold

    Curt Arnold - 2004-09-25

    Logged In: YES
    user_id=27193

    This patch makes MS Studio 5 and 6 project generation pretty
    useful. .dsw files are now generated.

    Also, new flags on project (failonerror, overwrite).

    msdev 7 and 71 have slight improvments, but still basically
    only provides a file list and preprocessor definitions.

     
  • Curt Arnold

    Curt Arnold - 2006-04-07

    Logged In: YES
    user_id=27193

    Improved VS.NET project generation and added msvc8 project
    type for VS 2005. Tested with msvc8 using VS 2005. Have
    not tested msvc7 and msvc71 and may need to suppression options.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks