|
Boost : |
Subject: [boost] past few days coding:=>>makefile generator
From: Ggh (ggh_at_[hidden])
Date: 2018-03-03 11:30:09
#--------------------------------------------------------------------------------
#
# Command Line Options:
#
# For each argument add a space between the switch and the argument to
the switch,
# e.g.:
#
# mkmakefile -tt exe -t targetname
#
# mkmakefile --help
#
# -tt <exe|dynamic|objs|static> Target type
# -t <targetname> Target name
# -i <include directory> Include directory
# Include directories can be
several. Prepend
# each directory with an '-i'
# -L <library directory> Library directory
# Library directories may also
be several, prepend each
# directory with an '-L'
# -l <library name> Library name, may also be
several, prepend each
# library with '-l'.
# -d <define> Define
# May also be several, prepend
each define with '-d'.
# -hd Header dependencies
# This flag makes the generator scan
# the source files for header files
# included. Creates dependency rules
# in the generated makefile.
# If a header file is included
in a source file
# and found in any of the
include directories given
# it will be listed as a
dependency to the source file.
# -o <makefile filename> Makefile filename to generate
# -c <c compiler> C compiler, the compiler
needs to be in the PATH
# environment variable.
# -cc <c++ compiler> C++ compiler, the C++
compiler needs to be in
# the PATH environment
variable aswell.
# -sl <static library> Link to static library
# The number of static
libraries can be any.
# Prepend each library name
with an '-sl' tag.
# -wd <target directory> Target directory. The
program changes
# to the target directory,
creates the makefile
# and reverts back to the
directory it was
# started from. The makefile
is written
# to the target directory. If
this argument is
# not set then the current
directory will be used.
# -mk Make the program / library.
This option executes
# 'make' with the make file
given. If no makefile
# argument is given it will
use 'makefile.mk' by
# default
#
# -help This help information
#
#--------------------------------------------------------------------------------
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk