aldebaran / qibuild

qiBuild: the meta build framework
http://doc.aldebaran.com/qibuild/index.html
BSD 3-Clause "New" or "Revised" License
66 stars 43 forks source link

qibuild configure ignores multiple -D options #12

Closed sseering closed 12 years ago

sseering commented 12 years ago

When qibuild configure and specifying multiple CMake variables with -D only the last one is set and the others are ignored.

dmerejkowsky commented 12 years ago

Not reproduced here.

$ qibuild configure -DFOO=BAR -DSPAM=EGGS -v 

...

[DEBUG]     qibuild.command Starting: /usr/bin/cmake -G Unix Makefiles -DCMAKE_BUILD_TYPE=DEBUG -DFOO=BAR -DSPAM=EGGS -Dqibuild_DIR=/home/dmerejkowsky/work/qi/qibuild/cmake/qibuild /home/dmerejkowsky/work/qi/qibuild/python/qibuild/test/world

...

-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    FOO
    SPAM

Can you give more details?

sseering commented 12 years ago

I tested this an both variables where present in CMake. Looks like the error is somewhere in my CMake files and the ticket is invalit. Thanks for your help.

dmerejkowsky commented 12 years ago

Ok, then :-)

Feel free to join the qibuild-dev mailing-list if you want: https://groups.google.com/a/aldebaran-robotics.com/group/qibuild-dev/topics