ACDK Make is a platform neutral make
utility.
Content of this chapter: |
# Unix $ACDK_TOOLS_HOME/bin/acdkmake # Win32 %ACDK_TOOLS_HOME%/bin/acdkmake_r.exeIn the $ACDK_TOOLS_HOME/bin directory also the ACDK shared libraries can be found.
-j numberofjobs: Parallize the compile jobs.
-
-f buildfile
: Load build file. If not given
try to load build.csf in current directory.-dn
: No source dependemcies.-dd
: Only source dependencies which are
included via #include "file.h" not via #include <file.h>.-df
: Full include dependencies.-k
: Don't abort if an task fails.-D <LABEL[=VALUE]>
: Add define passed to compile tasks.-I <include path>
: Add include path passed to compile tasks.-L <library path>
: Add library search path passed to link tasks.-PATH <execution path>
: Add path to execution search path.-dump-tasks
: print task definitions before starting.-dump-targets
: print targets known by this acdkmake installation.-dump-target <targetname>
: Dump target definitions.-dump-sel-target
: Dump target definitions choosen by acdkmake.-acdk-home <ACDKHOME>
.-acdk-tools-home <ACDK_TOOLS_HOME>
.-loglevel <Threshold log level>
: suppress all logging below this log level.[TaskName [TaskTargetTags] [TaskCommand]] [TaskName [TaskTargetTags] [TaskCommand]]
Where
#include "amake_config.cfg" /* create a library acdk_boot */ acdk_boot = new acdk.make.AcdkLibTask("acdk_boot"); acdk_boot.addModule("src/acdk/boot"); acdk_boot.addAcdkLib("acdk_core"); acdk_boot.addAcdkLib("acdk_text"); HelloWorld = new acdk.make.AcdkExeTask("HelloWorld"); HelloWorld.addSource("src/acdk/HelloWorld.cpp"); HelloWorld.addAcdkLib("acdk_core"); HelloWorld.addAcdkLib("acdk_text"); HelloWorld.addAcdkLib("acdk_boot"); HelloWorld.addSubTask("acdk_boot"); |
amake
amake acdk_boot STATIC clean
amake acdk_boot all HelloWorld all