Boost logo

Boost-Build :

From: jfurtek (jfurtek_at_[hidden])
Date: 2002-03-11 15:10:00


I would like my build system to "install" (or copy) built dlls and
executables to a predefined location. (This way, I can set my
PATH/LD_LIBRARY_PATH and run the program.)

Under Jam/MR, I would do this:

InstallBin $(MYOUTDIR) : test ;

The Jam/MR system would then, if I understand correctly, bind "test"
to the built target file, and copy it.

Under Boost, I get this error message:

don't know how to make test.exe

(I have included working files at the end of this mail.)

This seems fundamental enough that I would think there is a way to do
this under the Boost system. Is there?

Thanks,

Jeremy Furtek
mailto:jfurtek_at_[hidden]

-------------------------
# Jam 2.3.1 file
SubDir TOP ext test2 ;

Main test : test.cpp ;

MYOUTDIR = [ FDirName $(TOP) bin ] ;

InstallBin $(MYOUTDIR) : test ;

DEPENDS all : install ;
-------------------------
# Boost.Jam 3.0.0
subproject ext/test ;

exe test : test.cpp ;

MYOUTDIR = [ FDirName $(TOP) bin ] ;

InstallBin $(MYOUTDIR) : test ;

DEPENDS all : install
--------------------------
// test.cpp
#include <stdio.h>

int main(int argc, char* argv[])
{
printf("%s execution completed\n", argv[0]);
return 0;
}

 


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