LoginSignup
1
1

More than 5 years have passed since last update.

Building un-registered extention in waf

Posted at

waf's bld rejects unknown extensions(registered extensions are '.c', '.o', '.obj', '.C', '.c++', '.cxx', '.cc', '.pc.in', '.cpp').

If you have following shell file named app-env.sh.in,

#!/bin/sh

export APP_HOME=@prefix@
# other settings

writing build rule as below.

bld(source='app-env.sh.in',
    target='app-env.sh',
    prefix=bld.env['PREFIX'],
    features='subst')

target and features='subst' are needed. Thanks to tanakh!

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1