Questions tagged [prebuild]

87 questions
1
vote
1 answer

best way to handle prebuild and post build events while making a setup

hi i have many prebuild and postbuild events in different projects. i want to write these events in a single batch file and then call this script in the main project please tell me this is the correct way or any other best way of handlling these…
Hema Joshi
  • 247
  • 1
  • 5
  • 10
1
vote
1 answer

How execute a job from other job in Jenkins?

I have a job that updated my workspace and after will compile projects. I need have a job (A) for update my workspace and other job (B) that first executed the job A (like a prebuild) and after will compile my project.
hdmq
  • 277
  • 1
  • 4
  • 14
1
vote
3 answers

Pre/Post build event for windows service. Best practice

Got a windows service and need to recreate it with project build. In pre event: sc query "Service" | findstr /i running | if "%errorlevel%"=="0" (sc stop "Service") sc query "Service" | findstr /i running | if "%errorlevel%"=="0" (sc delete…
Roar
  • 2,117
  • 4
  • 24
  • 39
1
vote
1 answer

cannot do chroot with init shell script in android

I want to run glibc within Android ICS Emulator, for which I have bundled the glibc as a separate folder in AOSP root folder, with Android.mk in it with below contents: LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) $(shell mkdir -p…
Rookie
  • 735
  • 5
  • 11
  • 30
1
vote
1 answer

Copy the content of an appxmainfest file to another using Pre-build command

I've been trying to get this re-build command working for a Windows 8 Project in Visual Studio 2012. if "$(ConfigurationName)"==ReleaseOEM copy "$(ProjectDir)PackageOEM.appxmainfest" "$(ProjectDir)Package.appxmainfest" copy…
1
vote
1 answer

Making output in VC++ point to lines of source code

At work we have a prebuild step that reads over our source code and automatically generates data based on some annotations in the code. If the prebuild tags are poorly formatted or it finds something it doesn't know how to deal with it prints an…
Alex
  • 14,973
  • 13
  • 59
  • 94
1
vote
1 answer

NDK Crash when use class from prebuild library with std::string

I have two shared libs: lib1 and lib2. lib1 is prebuilded to lib2. I have Class in lib1: #include #include "stdlib.h" #include class Foo { public: Foo() { __android_log_print(ANDROID_LOG_VERBOSE, "Two…
Sergey
  • 43
  • 6
1
vote
2 answers

How to check if a pre-built package exists on Ubuntu

I am trying to install gtk-pixbuf 2.61.1 but it says that it is missing a TIFF library, from the gnome site it says to Before installing these libraries from source, you should check if your operating system vendor has prebuilt packages of these…
mihajlv
  • 2,275
  • 4
  • 36
  • 59
0
votes
0 answers

Not able to dynamically install prebuilt native-addon as npm dependency based on process.platform and architecture

I'm developing npm package (my_package) that is using domain-specific C/C++ libraries (c-library) via Node-API. Such setup has a reason, because this C/C++ library is being well maintained and rewriting it in JS/TS would not be feasible. The problem…
0
votes
1 answer

Call script only once before all builds in a multi-targeting project

I'm having a multiple targeting project using a script that generates classes out of a XSD. That should only be done once - for all build targets. I found that SO-question but this solution does not work. My filtered csproj contains these…
Sebastian Schumann
  • 3,204
  • 19
  • 37
0
votes
0 answers

Eclipse C builder doesn't compile pre-built files

In my Eclipse project there is a pre-build.bat script that generate interface C files from JSON. The generated files are cleared during clean. They are stored in /${ProjName}/${ConfigName}/protocols. The problem is that the build system doesn't see…
ilya1725
  • 4,496
  • 7
  • 43
  • 68
0
votes
1 answer

Pre build error cannot solve in my react native app

This is my first app. I cannot resolve errors. Please help me. error show in expo site.
0
votes
0 answers

Is there any way to find out where the Xcode build description path comes from?

Attached image is a Prebuild log in Xcode, which is enabled by doing this in the Terminal: defaults write com.apple.dt.Xcode IDEShowPrebuildLogs -bool YES. I'd like to know where the "Build description path" comes from so that I can modify it. To…
Marsupito
  • 59
  • 1
  • 9
0
votes
1 answer

Why are native node modules always recompiled on npm install?

I am building an app with Electron 14, and node v14.17.7, respectively [npm 6.14.15] to build my native node modules. Every time I execute npm install all my native dependencies are rebuilt from source (since the combination of Electron and node…
Daniel Stephens
  • 2,371
  • 8
  • 34
  • 86
0
votes
0 answers

Next.js - pre-fetch data for big amount of dynamic pages

I have created really big project with page that have over 800,000 variants. In my current React project I just access the url parameter on www.mywebsite.com/my_page/:id and I use useEffect. Here is simplified example: url=…
Borislav Stefanov
  • 533
  • 3
  • 15
  • 38