[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Adding cmake options to dh



Hi,

I am compiling a cmake-using project using dh with the following simple
debian/rules:
#!/usr/bin/make -f
export DH_VERBOSE=1
export DEB_BUILD_OPTIONS="nocheck"

%:
        dh $@

override_dh_auto_test:
        echo "skipping test"

To enable a feature I need, upstream suggests
cmake -D METEREXEC_ROOTACCESS=true .

Where would I add this? Do I need to find out what dh_auto_build does
and add all this manually to my override_dh_auto_build target just to
add the single setting? It looks easier to patch the upstream
CMakeLists.txt, but that's not the idea, right?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421


Reply to: