1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-18 07:44:57 +00:00
Commit Graph

762 Commits

Author SHA1 Message Date
Carles Fernandez
e0f577fe98 If Armadillo is not installed in the system, now CMake will download it, patch it in order to make a static library, build it, and link it with the rest of GNSS-SDR.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@306 64b25241-fba3-4117-9849-534c7e92360d
2013-01-03 01:48:34 +00:00
Carles Fernandez
6628e5e2d8 Now gflags and google-glog are downloaded, configured, build and linked automatically when doing "make". Since gflags is a prerequisite for the proper functioning of glog, glog is always built locally when gflags is missing.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@305 64b25241-fba3-4117-9849-534c7e92360d
2013-01-01 11:24:42 +00:00
Carles Fernandez
74668e14dd Glog is now downloaded, configured, built and linked automatically if it is not found in the host system.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@304 64b25241-fba3-4117-9849-534c7e92360d
2012-12-29 21:07:43 +00:00
Carles Fernandez
a032dfaefd Enabling CTest
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@301 64b25241-fba3-4117-9849-534c7e92360d
2012-12-28 15:40:03 +00:00
Carles Fernandez
201b446c47 Added build support for the GN3S dongle. If the variable GN3S_DRIVER is set, CMake automatically builds the gr-gn3s project, adds the gn3s_signal_source and links the corresponding library. There is no need to have gr-gn3s already installed.
Example:
$ cd build
$ export GN3S_DRIVER=1
$ cmake ../
$ make
$ make install

The gr-gn3s project can be build and installed independently, for instance for using it as a source block in gnuradio-companion.


git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@300 64b25241-fba3-4117-9849-534c7e92360d
2012-12-27 21:11:50 +00:00
Carles Fernandez
b52846e7fd Added support for RTL devices. If the variable RTLSDR_DRIVER is set, CMake looks for libosmosdr and gnuradio-osmosdr libraries and compiles the corresponding signal source.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@298 64b25241-fba3-4117-9849-534c7e92360d
2012-12-27 17:09:16 +00:00
Carles Fernandez
7ebebd041e If the GTEST_DIR variable is not set, CMake will automatically download, configure and build Googletest 1.6.0 when building run_tests. Download includes MD5 checksum. The source code will be left under the thirdparty/ folder. All the download and build files will remain under the build/ directory. Since Googletest does not need installation, all the process can be done without root privileges, simply doing 'make'.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@297 64b25241-fba3-4117-9849-534c7e92360d
2012-12-26 11:19:57 +00:00
Carles Fernandez
f33a0db34e Enabling run_tests build. If the variable GTEST_DIR exists, it builds the executable run_tests. 'make install' will copy the executable at the install/ folder.
Improved doxygen detection. Now 'make doc' will build the documentation at the docs/ folder if doxygen is available.

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@296 64b25241-fba3-4117-9849-534c7e92360d
2012-12-25 10:28:29 +00:00
Carles Fernandez
af68d9e744 Added some notes on what to do for optional drivers
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@294 64b25241-fba3-4117-9849-534c7e92360d
2012-12-24 11:42:23 +00:00
Carles Fernandez
c03f73519d Better handling of compiler flags
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@293 64b25241-fba3-4117-9849-534c7e92360d
2012-12-24 11:20:23 +00:00
Carles Fernandez
91feed486c Adds support for GPerftools. Add compiler and linker flags only if the library is available.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@292 64b25241-fba3-4117-9849-534c7e92360d
2012-12-24 10:21:31 +00:00
Carles Fernandez
c6e974ab21 Starting CMake support. In the root directory of gnss-sdr, type:
$ mkdir build && cd build && cmake ../ && make && make install

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@290 64b25241-fba3-4117-9849-534c7e92360d
2012-12-24 02:33:50 +00:00