Questions tagged [build-rules]

23 questions
0
votes
1 answer

How pass semicolon to dh_auto_configure

I need to pass a semicolon seperated list of paths to cmake and I'm doing it like this. dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_PREFIX_PATH=/home/runner/work/ksnip/Qt/5.15.2/gcc_64;/home/runner/work/ksnip/ksnip/tmp…
Damir Porobic
  • 681
  • 1
  • 8
  • 21
0
votes
2 answers

How to pass current user ID to buildRules method of CakePHP model

I use AuthComponent with CakePHP 3.8 and now I need to do some logic in Model buildRules method but for this I need to get the current user ID. Is there any way to pass/retrieve it without using hacks such as accessing directly from the session. I…
gagnav
  • 48
  • 7
0
votes
1 answer

Can bazel print a hierarchy of the build rules?

Bazel rules can compose other bazel rules. For example: def cpp_library(name,deps=[]): explicit_cpp_file = name + ".cpp" explicit_hpp_file = name + ".hpp" native.cc_library( name = name, srcs = [explicit_cpp_file], …
Trevor Hickey
  • 36,288
  • 32
  • 162
  • 271
0
votes
1 answer

Can a custom build phase modify a file before compilation?

I have an iOS app that uses both Objective C and Swift. Before including Swift code, the app used a logger which uses c macros. For security reasons, the c macros then implement a mechanism that strips down the logs when building a release version,…
Objectif
  • 364
  • 1
  • 4
  • 12
0
votes
2 answers

CakePHP 3 - Switch BuildRules set

I am making an application where users can create activities and other users can subscribe to them. New activities have to be approved through an admin panel, to which only admins have access. Activities that been approved should be locked, such…
Roberto
  • 958
  • 13
  • 33
0
votes
1 answer

Why not use the partialImage.o to generate the vxWorks image instead of listing all the object files to the linker

From rules.vxWorks: partialImage.o: $(PRJ_OBJS) version.o .... $(LD_PARTIAL) $(PRJ_OBJS) .... -o ${@} vxWorks: partialImage.o ..... $(LD) $(LFFLAGS) $(PRJ_OBJS) \ -defsym _VX_DATA_ALIGN=16 \ -T link.RAM \ -o ${@} In…
Dinesh
  • 5
  • 4
0
votes
1 answer

how to add build rule in xcode 5.0.2

I am trying to add j2objc build rule provided by google in my xcode project. here is the link of procedure mentioned by google 'https://code.google.com/p/j2objc/wiki/XcodeBuildRule' But I am unable to find any Add Build Rule option under Build Rule…
0
votes
2 answers

Xcode: Create a dependency between one file and another

We are using a custom compiler to compile some resources for our project. These resources are text-based and have a .ink extension. We are using a custom Build Rule for these ink files. (see footnote if you're interested in what they are!) Our ink…
Joseph Humfrey
  • 2,974
  • 2
  • 23
  • 34
1
2