aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2015-06-09 15:08:21 -0700
committerMartin Braun <martin.braun@ettus.com>2015-06-09 15:08:21 -0700
commit4d0dadb3cc0106c9026bc41d7d74d55918d13b43 (patch)
tree11e65b42f1f8443701e927ae785ee1a6b2e68928 /host
parent6113b921e4cce8fdb57575eb9418b84322d87c3c (diff)
downloaduhd-4d0dadb3cc0106c9026bc41d7d74d55918d13b43.tar.gz
uhd-4d0dadb3cc0106c9026bc41d7d74d55918d13b43.tar.bz2
uhd-4d0dadb3cc0106c9026bc41d7d74d55918d13b43.zip
examples: Updated init_usrp example on note about CMake flags
Diffstat (limited to 'host')
-rw-r--r--host/examples/init_usrp/.gitignore1
-rw-r--r--host/examples/init_usrp/CMakeLists.txt8
2 files changed, 9 insertions, 0 deletions
diff --git a/host/examples/init_usrp/.gitignore b/host/examples/init_usrp/.gitignore
new file mode 100644
index 000000000..567609b12
--- /dev/null
+++ b/host/examples/init_usrp/.gitignore
@@ -0,0 +1 @@
+build/
diff --git a/host/examples/init_usrp/CMakeLists.txt b/host/examples/init_usrp/CMakeLists.txt
index 3560dbd45..8705b4a8d 100644
--- a/host/examples/init_usrp/CMakeLists.txt
+++ b/host/examples/init_usrp/CMakeLists.txt
@@ -55,6 +55,14 @@ link_directories(${Boost_LIBRARY_DIRS})
### Make the executable #######################################################
add_executable(init_usrp init_usrp.cpp)
+SET(CMAKE_BUILD_TYPE "Release")
+MESSAGE(STATUS "******************************************************************************")
+MESSAGE(STATUS "* NOTE: When building your own app, you probably need all kinds of different ")
+MESSAGE(STATUS "* compiler flags. This is just an example, so it's unlikely these settings ")
+MESSAGE(STATUS "* exactly matchh what you require. Make sure to double-check compiler and ")
+MESSAGE(STATUS "* linker flags to make sure your specific requirements are included. ")
+MESSAGE(STATUS "******************************************************************************")
+
# Shared library case: All we need to do is link against the library, and
# anything else we need (in this case, some Boost libraries):
if(NOT UHD_USE_STATIC_LIBS)