Questions tagged [omake]

OMake is a portable, consistent build system inspired by Make and implemented in OCaml.

OMake is a portable, consistent build system inspired by Make and implemented in OCaml.

28 questions
0
votes
0 answers

How to use robocopy to copy files from a folder folders (robocopy need to go through every subfolder and check for files)

#Looping through header files and copy to src/for_src folder %foreach file_h in $(FOR_INCLUDE_FILES,A) %exec robocopy /MIR $(FOR_INCLUDE_DIR) $(FOR_PROJECT_OUTPUT_DELIVERY_DIR)/ASM/src/for_src $(file_h,B,>.h) %endfor With the above lines i am…
Krishna Matsa
  • 23
  • 1
  • 6
0
votes
1 answer

Run Omake from an other directory

I'm trying to add a custom package from a git depository in my buildroot environment. The package is build with omake and has a OMakeroot file at its root directory. In buildroot environment, I can define a custom Makefile which is automatically…
grorel
  • 1,408
  • 15
  • 21
0
votes
1 answer

what is mean by @ in the makefile gnu make?

For example if i write ->@ %echo "Hello" it print Hello in the console ->Hello what is @ in the case and %?
Kamaraj
  • 63
  • 1
  • 8
0
votes
2 answers

How do I make sure that a directory name is quoted in OMake?

I have a relatively complicated suite of OMake files designed for cross-compiling on a specific platform. My source is in C++. I'm building from Windows and I need to pass to the compiler include directories which have spaces in their names. The…
0
votes
2 answers

Telling omake to use static version of a c library

I'm using omake to build a native binary executable. After it links and i try to run it, it fails to run giving the following error: error while loading shared libraries: libprotobuf-c.so.1: cannot open shared object file: No such file or…
0
votes
1 answer

getting error during omake build 0.9.8.5-3

I am trying to build omake 0.9.8.5-3 but getting following error. So please help me fix it. ocamlc -thread -c omake_gen_magic.ml File "omake_gen_magic.ml", line 90, characters 14-33: Error: Unbound module Lm_string_util NMAKE : fatal error…
C.Lim
  • 1
  • 1
0
votes
1 answer

Omake getenv -- environment variables are not found

Some environment variables that exist in my bash environment (set in .bashrc) are not being read by getenv (it's saying they're undefined). Is it looking in some other environment? or....? monster@Tangerine ~/Casey/piano-core $ omake *** omake:…
Andie
  • 1
0
votes
1 answer

OMake bin directory

I am trying to have omake build stuff in my bin directory. I tried LIB = ../bin/mylib .DEFAULT: $(OCamlLibrary $(LIB), $(FILES)) But only the .a and .cmxa end up in bin, all the .cmx .cmi and .o end up in src. What am I doing wrong?
bruce_ricard
  • 743
  • 1
  • 7
  • 15
0
votes
1 answer

Difference between omake and nmake

Please tell me the difference between omake and nmake. We want to migrate from omake to nmake as we are rolling out clearcase. Please explain the process of migration from omake to nmake? Also please let me know if there are some complications.
KK.
  • 41
  • 1
  • 1
  • 5
0
votes
1 answer

Trying to get not greedy regex in omake

im working in a omake file and have a string represented a path. I'm trying to remove the first directory. this is my string: PATH = \PI\Common\noa\common\util i wrote this regex: $(PATH,S/.+\\\(.*\)/\1/) but the result is util. While what I want…
0
votes
1 answer

How to use Omake build system for a Visual studio 2010 project

I have a project, which works fine in VS-2010. And runs fine. But I want to create a make-file by using Omake. How to build the same in Omake. I have gone through all the documentation of Omake, but it does not say how to make it. My VS-2010 project…
Rasmi Ranjan Nayak
  • 11,510
  • 29
  • 82
  • 122
0
votes
1 answer

Is there an alternate to "omake -P" (server mode)?

The omake build system has the awesome feature called "server mode", invoked with the command line switch "omake -P". This will cause omake to monitor the file system for any file changes -- when there is a file change it will launch the appropriate…
Fasterz
  • 11
  • 1
0
votes
3 answers

OMake compilation with sub-directories

Looking through OMake documentation it seems whenever sources from subdirectories are used - they are always compiled into static libraries first. Is this always necessary? Can I compile and link everything without building the libs? I've been…
Maxicat
1
2