Boost logo

Boost-Build :

From: Johannes Brunen (JBrunen_at_[hidden])
Date: 2004-11-11 10:07:17


Hi,

It doesn't work.

I have added to msvc.jam:

rule compile.c++ ( targets + : sources * : properties * )
{
common.response-file $(targets) : $(sources) : $(targets[2]) : $(properties) ;
}

I have changed in msvc.jam:

actions compile.c++
{
$(.CC) /Zm800 -nologo -TP -U$(UNDEFS) $(CFLAGS) $(USER_CFLAGS) -I"$(INCLUDES)" -c -Fo"$(<:W)" "$(>:W)"
}

I have added to common.jam:

rule response-file ( targets + : sources * : the-response-file : properties* )
{
....
print.text [
[ on $(targets[1])
return -D$(DEFINES)
] ] ;
}

I got the following error message:

$ bjam msvc debug
C:/Development/Build/boost-build/tools\msvc.jam:363: in msvc.compile.c++
*** argument error
* rule common.response-file ( targets + : sources * : the-response-file : properties * )
* called with: ( <pComp\Zinc\znc\bin\msvc\debug\link-static\threading-multi>w_border.obj : <lComp!Zinc!znc-object(c-scanner)@1>w_border.cxx : : <debug-store>object <debug-symbols>on <define>ACIS_DLL <define>CADdy <define>CRTAPI1=_cdecl <define>CRTAPI2=_cdecl <define>D3E_DLL <define>EXISTS_ACIS_IHL <define>EXISTS_ACIS_PHL <define>EXISTS_DCUBED_HLM <define>MAKE_DLL <define>MAKE_DLL_SERVER <define>NT <define>SPA_NO_AUTO_LINK <define>STRICT <define>SYSTEM_DOS <define>SYSTEM_LSB_FIRST <define>WIN32 <define>ZINC <define>_DEBUG <define>_USE_WINDOW_OUTPUT <define>_WIN32_IE=0x0400 <define>_WINDOWS <define>_X86_=1 <define>__D3D <define>__DEBUG_CODE <define>__LOG_HISTORY <define>__SMD <define>__SPLINE_CODE <exception-handling>on <hardcode-dll-paths>true <include>Comp/Boost <include>Comp/Sisl/inc <include>Comp/Zinc/znc/inc <include>XCADdy/COMLibs1.0/CADdy/inc <include>XCADdy/COMLibs1.0/CADdyCOMHelper/inc <include>XCADdy/COMLibs1.0/CADdyCommon <include>XCADdy/COMLibs1.0/CADdyDataTypes/inc <include>XCADdy/COMLibs1.0/CADdyDimension/inc <include>XCADdy/COMLibs1.0/CADdyFrame/inc <include>XCADdy/COMLibs1.0/CADdyModel/inc <include>XCADdy/COMLibs1.0/CADdyParts/inc <include>XCADdy/COMLibs1.0/CADdyUI/inc <include>XCADdy/cpp/applic/comaddins/inc <include>XCADdy/cpp/applic/common/action/inc <include>XCADdy/cpp/applic/common/pic/inc <include>XCADdy/cpp/applic/common/pool/inc <include>XCADdy/cpp/applic/common/ui/inc <include>XCADdy/cpp/applic/light/inc <include>XCADdy/cpp/applic/m1f/inc <include>XCADdy/cpp/applic/me2d/action/inc <include>XCADdy/cpp/applic/me2d/pool/inc <include>XCADdy/cpp/applic/me2d/ui/inc <include>XCADdy/cpp/applic/me3d/action/inc <include>XCADdy/cpp/applic/me3d/pool/inc <include>XCADdy/cpp/applic/me3d/ui/inc <include>XCADdy/cpp/applic/me3dmvp/inc <include>XCADdy/cpp/applic/mebasic/inc <include>XCADdy/cpp/applic/mebecker/inc <include>XCADdy/cpp/applic/mebeckerpro/inc <include>XCADdy/cpp/frame/event/inc <include>XCADdy/cpp/frame/grafic/grafic/inc <include>XCADdy/cpp/frame/grafic/grafic/variants/opengl/inc <include>XCADdy/cpp/frame/grafic/grafic/variants/zinc <include>XCADdy/cpp/frame/grafic/grafic/variants/zinc/inc <include>XCADdy/cpp/frame/grafic/graficacis/inc <include>XCADdy/cpp/frame/grafic/xopattgrf/inc <include>XCADdy/cpp/frame/grafic/xopattgrfacis/inc <include>XCADdy/cpp/kernel/cadkernel/attribute/inc <include>XCADdy/cpp/kernel/cadkernel/geometry/inc<include>XCADdy/cpp/kernel/syskernel/arithmetic/inc <include>XCADdy/cpp/kernel/syskernel/introspection/inc <include>XCADdy/cpp/kernel/syskernel/system/inc <include>XCADdy/cpp/kernel/syskernel/xobject/inc <include>XCADdy/cpp/opengine/opengine/inc <include>XCADdy/cpp/opengine/opengineacis/inc <include>XCADdy/cpp/opengine/opengineudo/inc <include>XCADdy/cpp/partner/cadsys/me2d_cs/inc <include>XCADdy/cpp/partner/cadsys/me3d_cs/inc <include>XCADdy/cpp/partner/cadsys/me3dfea/inc <include>XCADdy/cpp/partner/cadsys/me3dfea_cs/inc <include>XCADdy/cpp/partner/cadsys/smd/inc <include>XCADdy/cpp/partner/gssl/dwg/inc <include>XCADdy/cpp/partner/softwert/me2d_sw/inc <include>XCADdy/cpp/plugins/acis/inc <include>XCADdy/cpp/plugins/dchlm/inc <include>XCADdy/cpp/plugins/ext/inc <include>XCADdy/cpp/plugins/vtk/inc <include>inc <include>src <inlining>off <link-runtime>shared <link>static <main-target-type>LIB <optimization>off <os>NT <profiling>off <rtti>on <runtime-debugging>on<stdlib>native <symlink-location>project-relative <threading>multi <toolset>msvc <traverse-dependencies>off <user-interface>console <variant>debug )
* missing argument the-response-file
C:/Development/Build/boost-build/tools\common.jam:428:see definition of rule 'response-file' being called
C:/Development/Build/boost-build/kernel\modules.jam:66: in modules.call-in
C:/Development/Build/boost-build/util\indirect.jam:82: in indirect.call
C:/Development/Build/boost-build/build\virtual-target.jam:607: in object(compile-action)@2.actualize
C:/Development/Build/boost-build/build\virtual-target.jam:301: in actualize-action
C:/Development/Build/boost-build/build\virtual-target.jam:182: in actualize-no-scanner
C:/Development/Build/boost-build/build\virtual-target.jam:110: in object(file-target)@175.actualize
C:/Development/Build/boost-build/build\virtual-target.jam:630: in actualize-source-type
C:/Development/Build/boost-build/build\virtual-target.jam:649: in actualize-sources
C:/Development/Build/boost-build/build\virtual-target.jam:596: in object(action)@1.actualize
C:/Development/Build/boost-build/build\virtual-target.jam:301: in actualize-action
C:/Development/Build/boost-build/build\virtual-target.jam:182: in actualize-no-scanner
C:/Development/Build/boost-build/build\virtual-target.jam:110: in object(file-target)@347.actualize
C:/Development/Build/boost-build\build-system.jam:169: in load
C:\Development\Build\boost-build/kernel\modules.jam:259: in import
C:\Development\Build\boost-build/kernel/bootstrap.jam:120: in boost-build
g:\Development\Libraries\cad\_3170\boost-build.jam:1: in module scope

With best regards

Johannes

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk