summaryrefslogtreecommitdiff
path: root/gr-howto-write-a-block-cmake/grc/howto_square_ff.xml
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-08-04 10:33:49 -0700
committerJosh Blum <josh@joshknows.com>2011-08-04 10:33:49 -0700
commit626018eb037808cdc32b5eb1907ae9d5f80d3e55 (patch)
tree54920571f247deda97519605e8326bcede647215 /gr-howto-write-a-block-cmake/grc/howto_square_ff.xml
parenta498339d2950955f258ae282b61f60e4e6e647d3 (diff)
cmake: re-imagining of how to write a block w/ cmake and boost unit test
Diffstat (limited to 'gr-howto-write-a-block-cmake/grc/howto_square_ff.xml')
-rw-r--r--gr-howto-write-a-block-cmake/grc/howto_square_ff.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/gr-howto-write-a-block-cmake/grc/howto_square_ff.xml b/gr-howto-write-a-block-cmake/grc/howto_square_ff.xml
new file mode 100644
index 0000000000..34a0b0a3f2
--- /dev/null
+++ b/gr-howto-write-a-block-cmake/grc/howto_square_ff.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<block>
+ <name>Square</name>
+ <key>howto_square_ff</key>
+ <category>HOWTO</category>
+ <import>import howto</import>
+ <make>howto.square_ff()</make>
+
+ <sink>
+ <name>in</name>
+ <type>float</type>
+ </sink>
+
+ <source>
+ <name>out</name>
+ <type>float</type>
+ </source>
+</block>