THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened. Details are below. User who did this - Damjan (gdamjan)
Attached to Project - awesome
Summary - There's no way to specify cmake variables
Task Type - Bug Report
Category - Core
Status - Unconfirmed
Assigned To - Operating System - All
Severity - Low
Priority - Normal
Reported Version - git/master
Due in Version - Undecided
Due Date - Undecided
Details - Curently, the default Makefile in awesome runs cmake from the cmake 
target as:
cmake ${builddir}/CMakeCache.txt:
   mkdir -p ${builddir}
   $(ECHO) "Running cmake…"
   cd ${builddir} && cmake "$(@D)" ..

the bad thing is, one can not specify additional cmake variables like for ex. -DPREFIX=/usr or -DSYSCONFDIR=/etc or -DCMAKE_BUILD_TYPE=RELEASE
What I propose is this small patch to the Makefile:
-       cd ${builddir} && cmake "$(@D)" ..
+ cd ${builddir} && cmake $(CMAKE_ARGS) "$(@D)" ..
so that one could use make like:
make cmake CMAKE_ARGS="-DPREFIX=/usr -DSYSCONFDIR=/etc 
-DCMAKE_BUILD_TYPE=RELEASE"



More information can be found at the following URL:
http://awesome.naquadah.org/bugs/index.php?do=details&task_id=517

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to [email protected].

Reply via email to