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.

47 questions
18
votes
4 answers

What is Boost Jam and is Jam worth migrating to?

What is Boost Jam and is Jam worth migrating to? I understand that jam is build system built by perforce however I am not sure how the boost jam & regular jam is different. I'm also hoping there could be someone in the SO community who has worked…
cbrulak
  • 14,071
  • 19
  • 56
  • 96
10
votes
1 answer

How to compile boost with -g debug flag?

I want to recompile our boost library, but with the -g, debugging flag enabled. I've been reading and see that we build boost with jam. While I know make very well, jam has always eluded me and my frustration is mounting.
John Rocha
  • 1,495
  • 2
  • 15
  • 28
6
votes
3 answers

Migrate from Jam to CMake

I understand Jam builds existing projects and CMake generates projects to build. But, given I'd rather be generating projects I could use in various IDE's rather than trying to integrate Jam into those IDE's, has anybody had any experience/success…
cppguy
  • 3,341
  • 1
  • 16
  • 33
3
votes
1 answer

How to build LuaPlus on Windows

I downloaded JamPlus (after expending quite some time discovering that this was the specific Jam derivate needed and didn't ship with the download), and set my PATH variable as dictated, and the thing doesn't work. Specifically, Jam lists a trunk of…
Puppy
  • 138,897
  • 33
  • 232
  • 446
3
votes
3 answers

How can I build different versions of a project using the Jam make tool?

I have a C++ project that compiles to different versions, including release, debug, shared library, and executable, with different compiler flags for each. I am trying out Jam as an alternative to Make, because it looks like a simpler system. Is…
Steve Hanov
  • 10,263
  • 15
  • 56
  • 63
3
votes
2 answers

Combining multiple static libraries into single share library in Boost Jam file

Hi I have following project hirarcy: -Top ------lib1 ----------Jamfile ------lib2 ----------Jamfile ------Jamroot Both the libs:lib1 and lib2 are static libs(.a) and their Jamfile consist of following command: lib $(library) : [ glob *.cpp ] :…
elite21
  • 597
  • 5
  • 8
3
votes
1 answer

Calling a python script from a Jamfile

I would like to call a python script from a Jamfile to generate a necessary source file. In a Makefile, it would look somewhat like this: sourcefile.c: python script.py What is the most elegant way to archive something like this in a Jamfile?
user1785730
  • 2,326
  • 2
  • 19
  • 39
2
votes
3 answers

Build Visual Studio Projects from Jamfiles?

Anyone know of a way to create Visual Studio Projects from a build based on Jamfiles? I'd settle for a jamfile -> XML-or-some-other-intermediate-format exporter tool, so I could write my own.
Eddie Parker
  • 4,519
  • 2
  • 31
  • 40
2
votes
1 answer

How can I build a googletest unit test using the gtest_main library with Jam?

I am trying to build a googletest unit test for a proof of concept as a new unit testing framework that we could possibly use. In googletest, there are two ways to write a unit test: with a main, or without a main. If you do not define a main, you…
Huckphin
  • 410
  • 4
  • 16
2
votes
2 answers

jamplus: link command line too long for osx

I'm using jamplus to build a vendor's cross-platform project. On osx, the C tool's command line (fed via clang to ld) is too long. Response files are the classic answer to command lines that are too long: jamplus states in the manual that one can…
Epu
  • 595
  • 7
  • 18
2
votes
2 answers

Define cross directory dependencies in Jam

After many years of using make, I've just started using jam (actually ftjam) for my projects. In my project workspaces, I have two directories: src where I build executables and libraries test where my test programs are I'm trying to set up a…
Remo.D
  • 15,217
  • 5
  • 41
  • 70
2
votes
0 answers

Visual Studio Project always out of date, "up to date is missing @ECHO", why is Visual Studio looking for this input?

Background: My team wants Visual Studio for development on an existing codebase, for its various tools, and that's what most developers are used to using. However, the existing build system (an internal flavor of Jam) is very entrenched, and for a…
2
votes
2 answers

Building Boost date/time Jamfile with .v2 extension

I'm trying to build the Boost date_time library so I can link it in my Makefile. I'm in "libs/date_time/build" and see a lonely "Jamfile.v2", if I type jam I get: Jamfile: No such file or directory ...found 7 target(s)... I have no idea what to do…
J.Bet-Eivazi
  • 117
  • 3
  • 6
2
votes
1 answer

Jam Object rule and directories

I suspect that the manual is actually saying what I'm doing wrong, but I can't really see a solution; the problem occurs when the .c file and the .o file to be build are not in the same directory, and the .c file has an automatic dependency on a .h…
damix911
  • 3,717
  • 26
  • 39
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
  • 2,826
  • 1
  • 22
  • 51
1
2 3 4