Questions tagged [jam]

Jam is a build system originally developed by Perforce software. It can be used as a replacement for make. It has three major forks used by the Boost, FreeType, and Haiku projects.

46 questions
1
vote
1 answer

Building boost without memory-mapped IO

I'm trying to build boost 1.71 for a platform which doesn't have mmap/munmap (Nintendo Switch with devkitPro toolchain). The build fails because there is no file. How do I configure boost to disable memory-mapped IO? I have checked…
Dmitry Grigoryev
  • 3,156
  • 1
  • 25
  • 53
1
vote
1 answer

Boost compilation does not understand block comment in JAM file

I compile boost v1.72 from https://dl.bintray.com/boostorg/release/1_72_0/source Ubuntu 18.04.4 LTS gcc : 7.5.0 It compiles with error: boost_1_72_0/tools/build/src/tools/types/sass-type.jam:8: in load ERROR: rule "Copyright" unknown in module…
xibi
  • 101
  • 1
  • 8
1
vote
1 answer

Boost-build - dependency on subproject target

I have a jamfile-based project where one of the build steps compiles a custom tool (called 'codegen') which I want to use in a later build step. The codegen tool is built in projects/codegen/Jamfile.jam relative to the root, and the executable…
Gumgo
  • 526
  • 4
  • 16
1
vote
1 answer

How to pass command line arguments in Jamfile?

I want to execute a certain command g++ in a Jamfile. However, I want to take the name of the file as command line input. In bash, this can be done as follows File temp.sh - #!/bin/bash g++ $1 And invoking it as bash temp.sh
Sashank
  • 590
  • 7
  • 22
1
vote
1 answer

Your Rank Is Pure Google Code Jam Assistance

I've been stuck on this question for a while (https://code.google.com/codejam/contest/635101/dashboard#s=p2). In the analysis of the question (https://code.google.com/codejam/contest/635101/dashboard#s=a&a=2) I understand that K is the rank of N in…
fragga
  • 13
  • 2
1
vote
1 answer

Out of source build with jam?

Is it possible to do an out-of-source build using Jam? If yes, how? (I've been sifting through the manual, but it makes no mention of this as far as I can see.) Note: I am using the "standard" Jam v2.5.
DevSolar
  • 67,862
  • 21
  • 134
  • 209
1
vote
1 answer

Create Folder using Jam

I'm using jam in my project to automate building in Visual Studio. I'm trying to move subdirectories and files from $folder to $folder1. $folder is containing a project $folder1 is empty. I use File to copy files. I try to copy files like this:…
President Camacho
  • 1,860
  • 6
  • 27
  • 44
1
vote
2 answers

How do I see g++ compiler output when using Jam?

I'm using Jam to compile a project, and it seems that no matter how high the debug level I set, I still can't see the details that I'm looking for. I want to use g++'s -M or -H flag to see which headers are being included (I want to include system…
s g
  • 5,289
  • 10
  • 49
  • 82
1
vote
1 answer

Is there a way to visualize dependencies in boost.build?

I have a large project that uses boost.build. I would like a way to view the dependency tree for specific build targets. For example: exe foo : foo.c /BAR//LIB : /MEOW//PUB ; The dependencies of foo would include all requirements of /BAR//LIB and…
Toonces
  • 11
  • 1
1
vote
0 answers

Jam and static libraries

I need to build Platinum C++ Libraries for static linking. What command(s) can I supply to jam for this?
Amani
  • 16,245
  • 29
  • 103
  • 153
1
vote
1 answer

Require.js build not concatenation scripts loaded with Jam

Following one of the chapters of "Developing Backbone.js Apllication" by Addy Osmani (O'Reilly) about Grunt-BBB (Backbone Boilerplate Buddy), I just couldn't manage to create a build profile. Here is the filesystem tree used for this : /builds …
m_vdbeek
  • 3,704
  • 7
  • 46
  • 77
1
vote
1 answer

How to pass in cflags through jam

I'm attempting to compile and link a DLL through Jam. This is a resource-only DLL, so I need to figure out how to pass in the /noentry flag to the linker through Jam. Here's what my Jamfile looks like right now: // need to figure out how to specify…
user1202422
  • 558
  • 2
  • 8
  • 16
0
votes
1 answer

Seperate build directory and include directory in Jam

I'd like to switch to using Jam as my build system. Currently, I have a src, include and build directories and I'm wondering how I can get Jam to put object files in the build directory and search for include files in the include directory.
Tom Leese
  • 19,309
  • 12
  • 45
  • 70
0
votes
1 answer

No builtin modules when calling b2 on a file with -f

Given the file test.jam: import path ; Running it with b2 -f test.jam gives: test.jam:1: in module scope ERROR: rule "import" unknown in root module. even though path is one of the builtin modules. How can I import builtin modules when calling b2…
Gabriel Devillers
  • 3,155
  • 2
  • 30
  • 53
0
votes
1 answer

jamfile: copy files to different directories

SEARCH_SOURCE = $(DDODBC_LIB_DIR) ; InstallBin [ FDirName $(TOP) $(BUILDDIR) lib ] : $(DDODBC_LIBS) ; InstallBin [ FDirName $(TOP) $(BUILDDIR) datadirect V7 lib ] : $(DDODBC_LIBS) ; Only in the second directory can I find the copied files from…
zero_yu
  • 493
  • 5
  • 15