aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples
diff options
context:
space:
mode:
Diffstat (limited to 'host/examples')
-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)