[Assorted-commits] SF.net SVN: assorted: [527] simple-build/trunk
Brought to you by:
yangzhang
From: <yan...@us...> - 2008-02-29 03:58:54
|
Revision: 527 http://assorted.svn.sourceforge.net/assorted/?rev=527&view=rev Author: yangzhang Date: 2008-02-28 19:59:00 -0800 (Thu, 28 Feb 2008) Log Message: ----------- added web publishing script Modified Paths: -------------- simple-build/trunk/README simple-build/trunk/src/build-templates/cpp Added Paths: ----------- simple-build/trunk/publish.bash Modified: simple-build/trunk/README =================================================================== --- simple-build/trunk/README 2008-02-29 03:37:17 UTC (rev 526) +++ simple-build/trunk/README 2008-02-29 03:59:00 UTC (rev 527) @@ -111,9 +111,12 @@ is to one day be able to generate `autotools` inputs (as well as other kinds of software packaging). -- [Boost.Build]: A system for building C++ projects. Documentation hints that - it is capable of discovering transitive dependencies as well. This seems like - the closest thing to what I wanted. +- [Boost.Build]: A system for building C++ projects. Can discover only + transitive dependencies that can be found without relying on implicit + locations (such as those that are found via gcc's `CPATH`, `C_INCLUDE_PATH`, + `CXX_INCLUDE_PATH`, etc.). Contains a scripting language that I'm still + learning, but for simple configs, the language is terse and appears nice. The + community doesn't seem to be as active as CMake's. - [GNU `make`]: Currently, SimpleBuild targets only `make`. @@ -139,9 +142,9 @@ database came from here. - [CMake]: Cross-platform `make`. Uses its own quirky scripting language and - has quite a few features. I should probably target this. ["Why the KDE - project switched to CMake"] is a nice article on CMake (vs. auto* and SCons). - I've been using CMake as well. + has quite a few features. Kind of ugly. As always, long-tail configurations + are more painful. ["Why the KDE project switched to CMake"] is a nice article + on CMake (vs. auto* and SCons). I should target this. - [WAF]: An even simpler/more barren build system. You actually write imperative scripts for each build you need. A bit scary. Added: simple-build/trunk/publish.bash =================================================================== --- simple-build/trunk/publish.bash (rev 0) +++ simple-build/trunk/publish.bash 2008-02-29 03:59:00 UTC (rev 527) @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +clean=true +project=simple-build +websrcs=( README ) +webfiles=() +. assorted.bash || exit 1 Property changes on: simple-build/trunk/publish.bash ___________________________________________________________________ Name: svn:executable + * Modified: simple-build/trunk/src/build-templates/cpp =================================================================== --- simple-build/trunk/src/build-templates/cpp 2008-02-29 03:37:17 UTC (rev 526) +++ simple-build/trunk/src/build-templates/cpp 2008-02-29 03:59:00 UTC (rev 527) @@ -1,6 +1,7 @@ OBJDIR := $(OUTDIR)/$(TARGET)-obj -CFLAGS := $(CFLAGS) $(FLAGS) -CXXFLAGS := $(CXXFLAGS) $(FLAGS) +FLAGS := -Wall -Werror $(FLAGS) +CFLAGS := $(FLAGS) $(CFLAGS) +CXXFLAGS := $(FLAGS) $(CXXFLAGS) CPPFLAGS := $(CPPFLAGS) LDFLAGS := $(LDFLAGS) $(LIBS) $(AUTOLIBS) EXE := $(OUTDIR)/$(TARGET) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |