Questions tagged [build2]

Use this tag for questions about the C++ build toochain build2.

4 questions
2
votes
1 answer

Build2 analog of CMake's find_package

Is there are any mechanism in Build2 like CMake's find_package? How to can i include a library that exists only on my system and not in package manager packages?
Blaze
  • 813
  • 2
  • 8
  • 13
2
votes
1 answer

build2: compiler does not support modules

I can build c++ projects without c++ modules with build2, but when i try to configure and use build2 with c++ modules, I have "compiler does not support modules" error. I'm sure my compiler is capable of building modules, because I can manually…
shitpoet
  • 419
  • 5
  • 11
1
vote
1 answer

build2 set output directory

I am new to build2 and following along thair toolchain introduction. I currently have the following structure: demo/ - build/ - bootstrap.build - root.build - demo/ - main.cpp - buildfile - buildfile - ... ./build/bootstrap.build: project =…
Symlink
  • 383
  • 2
  • 12
0
votes
1 answer

build2 build different configurations

I created a default build2 executable, bdep new -t exe -l c++,cpp hello edited the hello.cpp, #include int main (int argc, char* argv[]) { using namespace std; #ifdef NDEBUG cout << "Debug: off\n"; #else cout << "Debug:…
Symlink
  • 383
  • 2
  • 12