change name to gr-foo

This commit is contained in:
Bastian Bloessl
2013-06-05 06:44:42 +02:00
parent 486cb0a50e
commit 3006afc700
37 changed files with 166 additions and 166 deletions
+7 -7
View File
@@ -35,23 +35,23 @@ foreach(incdir ${GNURADIO_RUNTIME_INCLUDE_DIRS})
list(APPEND GR_SWIG_INCLUDE_DIRS ${incdir}/gnuradio/swig)
endforeach(incdir)
set(GR_SWIG_LIBRARIES gnuradio-ccs)
set(GR_SWIG_DOC_FILE ${CMAKE_CURRENT_BINARY_DIR}/ccs_swig_doc.i)
set(GR_SWIG_LIBRARIES gnuradio-foo)
set(GR_SWIG_DOC_FILE ${CMAKE_CURRENT_BINARY_DIR}/foo_swig_doc.i)
set(GR_SWIG_DOC_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/../include)
GR_SWIG_MAKE(ccs_swig ccs_swig.i)
GR_SWIG_MAKE(foo_swig foo_swig.i)
########################################################################
# Install the build swig module
########################################################################
GR_SWIG_INSTALL(TARGETS ccs_swig DESTINATION ${GR_PYTHON_DIR}/ccs)
GR_SWIG_INSTALL(TARGETS foo_swig DESTINATION ${GR_PYTHON_DIR}/foo)
########################################################################
# Install swig .i files for development
########################################################################
install(
FILES
ccs_swig.i
${CMAKE_CURRENT_BINARY_DIR}/ccs_swig_doc.i
DESTINATION ${GR_INCLUDE_DIR}/ccs/swig
foo_swig.i
${CMAKE_CURRENT_BINARY_DIR}/foo_swig_doc.i
DESTINATION ${GR_INCLUDE_DIR}/foo/swig
)
-33
View File
@@ -1,33 +0,0 @@
#define CCS_API
%include "gnuradio.i"
//load generated python docstrings
%include "ccs_swig_doc.i"
%{
#include "ccs/burst_tagger.h"
#include "ccs/packet_dropper.h"
#include "ccs/packet_pad.h"
#include "ccs/pdu_to_blob.h"
#include "ccs/periodic_msg_source.h"
#include "ccs/string_to_blob.h"
#include "ccs/wireshark_connector.h"
%}
%include "ccs/burst_tagger.h"
%include "ccs/packet_dropper.h"
%include "ccs/packet_pad.h"
%include "ccs/pdu_to_blob.h"
%include "ccs/periodic_msg_source.h"
%include "ccs/string_to_blob.h"
%include "ccs/wireshark_connector.h"
GR_SWIG_BLOCK_MAGIC2(ccs, burst_tagger);
GR_SWIG_BLOCK_MAGIC2(ccs, packet_dropper);
GR_SWIG_BLOCK_MAGIC2(ccs, wireshark_connector);
GR_SWIG_BLOCK_MAGIC2(ccs, packet_pad);
GR_SWIG_BLOCK_MAGIC2(ccs, pdu_to_blob);
GR_SWIG_BLOCK_MAGIC2(ccs, periodic_msg_source);
GR_SWIG_BLOCK_MAGIC2(ccs, string_to_blob);
+33
View File
@@ -0,0 +1,33 @@
#define FOO_API
%include "gnuradio.i"
//load generated python docstrings
%include "foo_swig_doc.i"
%{
#include "foo/burst_tagger.h"
#include "foo/packet_dropper.h"
#include "foo/packet_pad.h"
#include "foo/pdu_to_blob.h"
#include "foo/periodic_msg_source.h"
#include "foo/string_to_blob.h"
#include "foo/wireshark_connector.h"
%}
%include "foo/burst_tagger.h"
%include "foo/packet_dropper.h"
%include "foo/packet_pad.h"
%include "foo/pdu_to_blob.h"
%include "foo/periodic_msg_source.h"
%include "foo/string_to_blob.h"
%include "foo/wireshark_connector.h"
GR_SWIG_BLOCK_MAGIC2(foo, burst_tagger);
GR_SWIG_BLOCK_MAGIC2(foo, packet_dropper);
GR_SWIG_BLOCK_MAGIC2(foo, wireshark_connector);
GR_SWIG_BLOCK_MAGIC2(foo, packet_pad);
GR_SWIG_BLOCK_MAGIC2(foo, pdu_to_blob);
GR_SWIG_BLOCK_MAGIC2(foo, periodic_msg_source);
GR_SWIG_BLOCK_MAGIC2(foo, string_to_blob);