Menu

#5 Revamped build system

open
nobody
None
5
2006-11-19
2006-11-19
Anonymous
No

The attached tarball replaces the current build system with a new one, incorporating most of remimegret's ideas. I refined it a bit and added some comments. With this system, dependencies are correctly tracked and out-of-source builds are cleanly possible.

I don't submit a diff because almost every single line in the CMakeList.txts changes (there are whitespace changes, partly due to an inconsistent indentation in the current CMakeList.txt). However, the files are heavily commented.

These files assume the existence of a Widget/ directory, see 1591368.

Thomas

Discussion

  • Nobody/Anonymous

    revamped build system

     
  • Thomas Weber

    Thomas Weber - 2006-11-21

    Logged In: YES
    user_id=1240556
    Originator: NO

    The posted patch is missing the following sub-directories:
    Examples
    Parallel
    Scripts

    They can be added by simple 'ADD_SUBDIRECTORY' commands

    I'll post a new patch if that is preferred.

    Thomas

     
  • Jonathan Stickel

    Logged In: YES
    user_id=1126202
    Originator: NO

    I tested out this build system and there are a few issues. I was able to correct the problem of copying files to themselves when using the same directory for the source and binary tree. However, the script files (*.m) are not being installed with "make install". Also, warnings for deprecated calls appear for every .oct file build.

    Finally, Dragan has recently improved the original build system, including similar features of this proposed build system. I am not sure which one we should go with.

    Jonathan

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.