johnsonjh / duma

duma: Detect Unintended Memory Access (D.U.M.A.) - A Red-Zone memory allocator

Home Page:https://github.com/johnsonjh/duma

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

duma.sh: detect library name and path

johnsonjh opened this issue · comments

  • detect library name and path induma.sh script

the "install path" and library name could be added with cmake configure_file (https://cmake.org/cmake/help/latest/command/configure_file.html) ..

now, with cmake support .. do we need to keep Makefile?
is there a relevant Makefile option, which is missing with cmake?

You can do make install prefix=/opt/duma. Other variables can be specified to allow fine tuning further.

I'd prefer to keep the Makefile, at least for now .. I'll look at the CMake option and normalize it with Make (perhaps even using the same variables as CMake if they are defined.)

(Finally got new air conditioning installed today too so it won't be over 100F in my office. Expect a commit flurry soon.)

#99 and #100 handles the CMake case. Will close after handling the "make" case.

Will close after handling the "make" case.

I'll take care of it tomorrow.

Need to get better on my tomorrow estimates...