Hi developers,
I'm so suprised if I could use the itpp's capablities with GNURadio!
In fact, I'm using GNURadio 3.7.3 to design a communication system. It has a tool called "gr_modtool" which generates a project by which I could make my own signal processing blocks also it enables us to easily install the project somewhere else by means of "cmake".
I just introduced the "gr_modtool" and I'm not expecting you know about it, however I want to use itpp libraries in my project. I know I must add the library headers to the project in cmake files. In another way, I must link the library to the project but I don't know how could I link the itpp library to the project by "cmake"?
Please help me!
Best,
Alizadeh
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In the "step 2" it adds a library to a project. However, I want to be able to check the dependency of my project when I want to install it somewhere else. In another word, I want to looking for the library when the project is going to install.
Best,
Alizadeh
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I see. Currently IT++ does not have a module for IT++ detection (called with find_package from cmake). You can write one yourself looking at similar models on the Internet (afaik Armadillo project has such a module).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I see. Currently IT++ does not have a module for IT++ detection (called
with find_package from cmake). You can write one yourself looking at
similar models on the Internet (afaik Armadillo project has such a module).
I think IT++ should use export (http://www.cmake.org/cmake/help/v3.0/command/export.html && http://www.cmake.org/Wiki/CMake/Tutorials/Exporting_and_Importing_Targets) for install targets.
This will allow to use IT++ without any hands-written find modules.
Such technique used by Qt5/OpenCV projects.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
the GNU Radio out-of-tree module gr-ieee802-11 has a Cmake file for autodetection. I did not write it not do I know anything about its limitations. I don't no CMake settings, either.
Hi developers,
I'm so suprised if I could use the itpp's capablities with GNURadio!
In fact, I'm using GNURadio 3.7.3 to design a communication system. It has a tool called "gr_modtool" which generates a project by which I could make my own signal processing blocks also it enables us to easily install the project somewhere else by means of "cmake".
I just introduced the "gr_modtool" and I'm not expecting you know about it, however I want to use itpp libraries in my project. I know I must add the library headers to the project in cmake files. In another way, I must link the library to the project but I don't know how could I link the itpp library to the project by "cmake"?
Please help me!
Best,
Alizadeh
from cmake use target_link_libraries. See cmake help for more info
I saw the link below:
http://www.cmake.org/cmake/help/cmake_tutorial.html
In the "step 2" it adds a library to a project. However, I want to be able to check the dependency of my project when I want to install it somewhere else. In another word, I want to looking for the library when the project is going to install.
Best,
Alizadeh
I see. Currently IT++ does not have a module for IT++ detection (called with find_package from cmake). You can write one yourself looking at similar models on the Internet (afaik Armadillo project has such a module).
Thank you so much for the clarification!
I thought there is a written one.
Best
On Wed, Jun 11, 2014 at 4:43 PM, Bogdan Cristea cristeab@users.sf.net
wrote:
I think IT++ should use export (http://www.cmake.org/cmake/help/v3.0/command/export.html && http://www.cmake.org/Wiki/CMake/Tutorials/Exporting_and_Importing_Targets) for install targets.
This will allow to use IT++ without any hands-written find modules.
Such technique used by Qt5/OpenCV projects.
Hi
@Sergey: Please provide a patch and an usage example.
regards
Bogdan
I'll do this soon.
Hi all,
the GNU Radio out-of-tree module gr-ieee802-11 has a Cmake file for autodetection. I did not write it not do I know anything about its limitations. I don't no CMake settings, either.
But you can find the file at:
https://github.com/bastibl/gr-ieee802-11/blob/master/cmake/Modules/FindITPP.cmake
Just if any one is interested.
Regards
Stephan
Hi all, is there a convolution function for vector? Or I should use filter as convolution function?