424 questions
0 votes
1 answer
135 views
How to migrate `new_local_repository` from lagacy to latest bazel (v8.1.1)
I have bazel project working fine with v4.1.0. It works fine upto v7.x. But going forward I must migrate my WORKSPACE.bazel to REPO.bazel and MODULE.bazel. While doing this migration I am ...
0 votes
0 answers
111 views
How to dynamically configure Unreal Engine include paths in CMake for external projects?
I’m working on a C++ application that integrates with Unreal Engine 5.5 libraries. I want to dynamically configure the Unreal Engine include paths in my CMake setup without hardcoding the engine ...
1 vote
1 answer
550 views
Private Bazel registry authentication issues with GitHub
I have a private Bazel registry in my GitHub organization. I am trying to use that registry with my Bazel builds. Calling Bazel build or query commands with my private remote Bazel registry, expecting ...
1 vote
2 answers
199 views
How to make build system produce multiple js outputs?
This would seem like a basic question, but I found no information on it. Websites don't typically consist of a single page. E.g. Stack Overflow has a menu on the left with Home, Questions, Tags links, ...
1 vote
2 answers
330 views
C++ Cmake: How to test if compiler exists and select it
How in Cmake test if compiler exists and if true then select it? Or some function to manually set desired compiler and it`s toolchain inside CMakeLists.txt, without external env variables nor ...
1 vote
1 answer
1k views
C++ Meson build: How to select another compiler
I am using Meson for building C++ project and need to set compiler priority to clang instead of default gcc when it avaible. How to do that in meson.build file? Is it possible without additional meson ...
0 votes
1 answer
90 views
Unable to take user Inputs in C language in Sublime Text
I want to take user inputs in c language but I am unable to as the Sublime Text does not allow that. I want to create a build system for C that will take user inputs and display output in the default ...
1 vote
0 answers
80 views
Can the Jenkins Perforce plugin handle syncing at a certain changelist?
I am trying this in a scripted pipeline p4sync ( charset: 'none', credential: 'P4Credentials', format: 'jenkins-${NODE_NAME}-${JOB_NAME}', populate: syncOnly( force: true, ...
-1 votes
1 answer
2k views
How to configure debug and release mode for c++ with cmake
I am trying to set up a c++ project with cmake. I want to be able to compile my project in both release and debug mode, and I therefore want different folders for my executables. Since there are only ...
0 votes
0 answers
57 views
Link to library's PDB file using CMake
I have a problem. I use a library which is linked statically, and I have the .pdb file for debug info which corresponds to that library. However, I am not sure how to "link" to that .pdb ...
0 votes
1 answer
450 views
How to add local file in bazel's pkg_tar?
I'm using bazel 5.4.1. Despite searching diligently, I couldn't find the answer. I know new_local_repository can load local file into bazel project, but I do not find an direct and elegant method to ...
0 votes
0 answers
135 views
Why is Premake5 not creating the necessary output directories for my project?
I'm using Premake5 as my build system for a C project on Windows. I'm using three scripts for my project: premake5.lua workspace "epoch" configurations { "Debug", "...
0 votes
0 answers
74 views
Custom dynamic version provider for Python projects
In a Python project that uses pyproject.toml (and setuptools), I want to have a custom version number provider. I want it to work like setuptools_scm, but use my own logic to determine the version (...
0 votes
1 answer
592 views
Using a Makefile for Java
For college, I have to use Java. However, I do not want to use an IDE. I like vim. So I'm trying to create a Makefile to build my java projects. My requirements are : No hardcoding of classes. The ...
1 vote
2 answers
472 views
Premake issues with lua
I using premake as a build system and I have my Lua script but for some reason when I open my vs2022 and run it some things don't get made right. some of the projects and items have a red circle with ...