summaryrefslogtreecommitdiffstats
path: root/waflib/extras/fluid.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-04-21 20:32:35 +0200
committerDavid Robillard <d@drobilla.net>2019-04-21 22:45:12 +0200
commit253d96b2fdabb70a9881ebfad4f47c0b7a0f1418 (patch)
treef185a3bf1e2ad4e3fada1468939e997ec918b957 /waflib/extras/fluid.py
parentc4e5940f935b1ac4b152aa7a1311012791f073ae (diff)
downloadganv-253d96b2fdabb70a9881ebfad4f47c0b7a0f1418.tar.gz
ganv-253d96b2fdabb70a9881ebfad4f47c0b7a0f1418.tar.bz2
ganv-253d96b2fdabb70a9881ebfad4f47c0b7a0f1418.zip
Switch to using a submodule for autowaf
Diffstat (limited to 'waflib/extras/fluid.py')
m---------waflib0
-rw-r--r--waflib/extras/fluid.py30
2 files changed, 0 insertions, 30 deletions
diff --git a/waflib b/waflib
new file mode 160000
+Subproject 2314e236ca6e7d94a26c3c17091da0f25f5867f
diff --git a/waflib/extras/fluid.py b/waflib/extras/fluid.py
deleted file mode 100644
index 4814a35..0000000
--- a/waflib/extras/fluid.py
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/usr/bin/python
-# encoding: utf-8
-# Grygoriy Fuchedzhy 2009
-
-"""
-Compile fluid files (fltk graphic library). Use the 'fluid' feature in conjunction with the 'cxx' feature.
-"""
-
-from waflib import Task
-from waflib.TaskGen import extension
-
-class fluid(Task.Task):
- color = 'BLUE'
- ext_out = ['.h']
- run_str = '${FLUID} -c -o ${TGT[0].abspath()} -h ${TGT[1].abspath()} ${SRC}'
-
-@extension('.fl')
-def process_fluid(self, node):
- """add the .fl to the source list; the cxx file generated will be compiled when possible"""
- cpp = node.change_ext('.cpp')
- hpp = node.change_ext('.hpp')
- self.create_task('fluid', node, [cpp, hpp])
-
- if 'cxx' in self.features:
- self.source.append(cpp)
-
-def configure(conf):
- conf.find_program('fluid', var='FLUID')
- conf.check_cfg(path='fltk-config', package='', args='--cxxflags --ldflags', uselib_store='FLTK', mandatory=True)
-