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
0
votes
1 answer

Boost build error of recursion in main target references

I want to conditionally use a library (with alternatives) for targets. I don't want to add conditions such as yes:foo everywhere but prefer to create a propagated feature. However, b2 generates errors for the following jam. import…
0
votes
1 answer

Is there a provision to invoke jamfile and jamrule from cmake and vice versa?

Trying to migrate a legecy codebase whose buildsystem jam to CMake. to divide and conquer it , checking whether there and provisions to Is there a provision to invoke jamfile and jamrule from cmake and vice versa . one option would be add a…
0
votes
1 answer

what does $(1:D=) mean?

I'm reading Jamrule file of some project to understand how it builds. But there is some that I can't understand. Such like $(1:D=) or $(1:S=$(sample)) or $(1:G=$(sample)) what does it mean? I searched colon and equal meaning in a shell script but I…
0
votes
0 answers

using short codes in JAM Stacks

We are deciding which JAM stack static site generation solution we should go for, and one of the main deciding factors is ability to use short codes for creating rich content. We need to be able to use custom and / or predefined short codes such as…
all jazz
  • 2,007
  • 2
  • 21
  • 37
0
votes
1 answer

How can I include the Jambase file to my build?

I'm trying to setup a simple bjam build example, where I use the SubDir rule in my top-level Jamroot.jam file: SubDir TOP ; exe main : main.cpp ; I'm using boost_1_58_0 and when I leave out the SubDir directive, the build works fine. But when I…
dirkbaechle
  • 3,984
  • 14
  • 17
0
votes
0 answers

Failed building boost for GCC on Win10

I'm trying to build b2 from bootstrap.bat with gcc. It exists with the following: C:\Program Files\boost_1_53_0\tools\build\v2>bootstrap gcc Bootstrapping the build engine execnt.c:31: tlhelp32.h: No such file or directory filent.c: In function…
0
votes
1 answer

How do I specify dependencies in libraries in Jamfiles?

I need to link against a set of libraries in boost.build`. How do I specify the linking order? This is what I have in the Jamfile. exe sim_strategy : sim_strategy.cpp : -lOptionsUtils -lVolatileTradingInfo …
Humble Debugger
  • 4,439
  • 11
  • 39
  • 56
0
votes
0 answers

Calling jam from Makefile does not work

In my makefile I was trying to go into a different directory and invoke jam with something like: jam-build: cd && jam This did not work, but caused "Unknown target. Please edit 'Jamrules'." even though the exact same…
thoni56
  • 3,145
  • 3
  • 31
  • 49
0
votes
1 answer

Change of file extension in jam script

How can i change extension from an input files in jam script. On linux box i have following working code - for local var in $(objFiles) { local objName = [ SHELL "var1=$(var); echo ${var1%.cpp}.obj" ] ; obj $(objName) : $(var) :…
Manish Shukla
  • 562
  • 6
  • 18
0
votes
1 answer

undefined reference to ''

I am working on a large piece of code. When I compile the code base using jam command, I get a lot of errors saying undefined reference to 'some_function' in a newly added header file in the code base. This header file includes all other relevant…
Piyush
  • 1
  • 2
0
votes
2 answers

Building boost-python example

I'm running Ubuntu 13.10 . I installed libboost1.54-dev. I did a Git checkout of Boost, and did a checkout to "boost-1.54.0". I changed directories to boost/libs/python/example/tutorial in the source. I ran "bjam". I get: $ bjam Unable to load…
Dustin Oprea
  • 9,673
  • 13
  • 65
  • 105
0
votes
1 answer

Creating Application Structure

I am trying to create an OS X desktop application using Haiku Jam. The only files I need are: .app (directory) .app/Contents (directory) .app/Contents/Info.plist (file) .app/Contents/MacOS…
wjk
  • 1,219
  • 11
  • 27
0
votes
1 answer

Dependency Breaks Build

I am trying to build a project using Haiku Jam. (The code for the project is available online at https://github.com/Andromeda-OS/LLVM. I recommend at least looking at the directory names in that project so that you know what components I am…
wjk
  • 1,219
  • 11
  • 27
0
votes
1 answer

Jamfile - "Unknow rule" - How to read into it

I am trying to compile this project - It compiles perfectly in Linux(ubuntu). But I want it to work on Windows. So I installed MinGW (which comes with Jamplus installed) - and went ahead installing all the libs needed for the project. After doing…
Amit Ahire
  • 303
  • 4
  • 10
0
votes
1 answer

Jam HDRPATTERN for scheme load expressions

I am trying to use some scheme files for code generation as a part of my jamfiles for building a project. I have it "working" in the sense that my scheme files get evaluated as a part of the build and generate their .cpp's that get compiled and…
JJacobsson
  • 153
  • 7