Commit faca8f7b authored by Robert Hedman's avatar Robert Hedman

added all scripts, scream etc

parent 22dd6e21
import matplotlib.pyplot as plt
import numpy as np
import matplotlib.animation as animation
import math
import socket
import time
LIDAR_IP = '10.180.65.30' #'169.254.13.125'
PLOTTER_IP = '10.9.0.2' #'169.254.13.125'
LIDAR_PORT = 2111
PLOTTER_PORT = 2110
BUFFER_SIZE = 10240
MESSAGE = "\x02sRN LMDscandata\x03"
def main():
plot_type = "blit"
sp = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sp.bind(('', PLOTTER_PORT))
print 'listening for sender...'
sp.listen(1)
conn, addr = sp.accept()
print 'Connected by', addr
#conn.send("Hello")
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((LIDAR_IP, LIDAR_PORT))
while True:
# check if update needed
state = conn.recv(2)
print(state)
if state == "go":
print("state was go")
# request lidar data
s.sendall(MESSAGE)
data = s.recv(BUFFER_SIZE)
#print data
#time.sleep(0.1)
# send lidar data
conn.sendall(data)
s.close()
conn.close()
main()
#!/bin/bash
echo "hello!"
echo $(pwd)
#./scream/rtsp/bin/rtsp 10.180.65.28 31111 &> rtspOut.txt
echo "starting relayer"
( python robotvt17/python/permobil/relayerUDP.py ) &
P0=$!
echo "setting up rtsp:s"
( ./scream/rtsp/bin/rtsp 10.180.65.26 31111 &> rtspOut1.txt ) &
P1=$!
sleep 3
echo "one done"
( ./scream/rtsp/bin/rtsp 10.180.65.27 31112 &> rtspOut2.txt ) &
P2=$!
sleep 2
echo "two done"
( ./scream/rtsp/bin/rtsp 10.180.65.28 31113 &> rtspOut3.txt ) &
P3=$!
sleep 4
echo "three done"
( ./scream/rtsp/bin/rtsp 10.180.65.29 31114 &> rtspOut4.txt ) &
P4=$!
sleep 5
#echo "waiting for rtsp clients to set up..."
#echo 0
#sleep 1
#echo 1
#sleep 1
#echo 2
#sleep 1
#echo 3
#echo "waiting for {$P1}"
#wait $P1
cat rtspOut1.txt | grep -o 'SSRC:[0-9A-Za-z]*' | awk -F : '{print $2}' &> SSRC1.txt
SSRC1=$(cat SSRC1.txt)
echo $SSRC1
cat rtspOut2.txt | grep -o 'SSRC:[0-9A-Za-z]*' | awk -F : '{print $2}' &> SSRC2.txt
SSRC2=$(cat SSRC2.txt)
echo $SSRC2
cat rtspOut3.txt | grep -o 'SSRC:[0-9A-Za-z]*' | awk -F : '{print $2}' &> SSRC3.txt
SSRC3=$(cat SSRC3.txt)
echo $SSRC3
cat rtspOut4.txt | grep -o 'SSRC:[0-9A-Za-z]*' | awk -F : '{print $2}' &> SSRC4.txt
SSRC4=$(cat SSRC4.txt)
echo $SSRC4
#./scream/scream_sender/bin/scream_sender YWRtaW46YWRtaW5hZG1pbjE= 1 10.19.0.3 31110 10.180.65.28 31111 {$SSRC} 1
./scream/scream_sender/bin/scream_sender -scale 1.0 YWRtaW46YWRtaW5hZG1pbjE= 4 10.9.0.2 31110 10.180.65.28 31113 $SSRC3 1.0 10.180.65.27 31112 $SSRC2 0.2 10.180.65.26 31111 $SSRC1 0.1 10.180.65.29 31114 $SSRC4 0.1 &> screamSender.log
wait $P0 $P1 $P2 $P3 $P4
tail -n 35 rtspOut1.txt
#!/bin/bash
echo "hello!"
echo $(pwd)
#./scream/rtsp/bin/rtsp 10.180.65.28 31111 &> rtspOut.txt
echo "starting relayer"
( python robotvt17/python/permobil/relayerUDP.py ) &
P0=$!
echo "setting up rtsp:s"
( ./scream/rtsp/bin/rtsp 10.180.65.26 31111 &> rtspOut1.txt ) &
P1=$!
sleep 3
echo "one done"
( ./scream/rtsp/bin/rtsp 10.180.65.27 31112 &> rtspOut2.txt ) &
P2=$!
sleep 2
echo "two done"
( ./scream/rtsp/bin/rtsp 10.180.65.28 31113 &> rtspOut3.txt ) &
P3=$!
sleep 4
echo "three done"
( ./scream/rtsp/bin/rtsp 10.180.65.29 31114 &> rtspOut4.txt ) &
P4=$!
sleep 5
#echo "waiting for rtsp clients to set up..."
#echo 0
#sleep 1
#echo 1
#sleep 1
#echo 2
#sleep 1
#echo 3
#echo "waiting for {$P1}"
#wait $P1
cat rtspOut1.txt | grep -o 'SSRC:[0-9A-Za-z]*' | awk -F : '{print $2}' &> SSRC1.txt
SSRC1=$(cat SSRC1.txt)
echo $SSRC1
cat rtspOut2.txt | grep -o 'SSRC:[0-9A-Za-z]*' | awk -F : '{print $2}' &> SSRC2.txt
SSRC2=$(cat SSRC2.txt)
echo $SSRC2
cat rtspOut3.txt | grep -o 'SSRC:[0-9A-Za-z]*' | awk -F : '{print $2}' &> SSRC3.txt
SSRC3=$(cat SSRC3.txt)
echo $SSRC3
cat rtspOut4.txt | grep -o 'SSRC:[0-9A-Za-z]*' | awk -F : '{print $2}' &> SSRC4.txt
SSRC4=$(cat SSRC4.txt)
echo $SSRC4
#./scream/scream_sender/bin/scream_sender YWRtaW46YWRtaW5hZG1pbjE= 1 10.19.0.3 31110 10.180.65.28 31111 {$SSRC} 1
./scream/scream_sender/bin/scream_sender -scale 1.0 YWRtaW46YWRtaW5hZG1pbjE= 4 10.9.0.2 31110 10.180.65.28 31113 $SSRC3 0.1 10.180.65.27 31112 $SSRC2 0.2 10.180.65.26 31111 $SSRC1 0.1 10.180.65.29 31114 $SSRC4 1.0 &> screamSender.log
wait $P0 $P1 $P2 $P3 $P4
tail -n 35 rtspOut1.txt
#!/bin/bash
echo "hello!"
echo $(pwd)
#./scream/rtsp/bin/rtsp 10.180.65.28 31111 &> rtspOut.txt
#echo "starting relayer"
#( python robotvt17/python/permobil/relayerUDP.py ) &
#P0=$!
echo "setting up rtsp:s"
( ./scream/rtsp/bin/rtsp 10.180.65.26 31111 &> rtspOut1.txt ) &
P1=$!
sleep 3
echo "one done"
( ./scream/rtsp/bin/rtsp 10.180.65.27 31112 &> rtspOut2.txt ) &
P2=$!
sleep 2
echo "two done"
( ./scream/rtsp/bin/rtsp 10.180.65.28 31113 &> rtspOut3.txt ) &
P3=$!
sleep 4
echo "three done"
( ./scream/rtsp/bin/rtsp 10.180.65.29 31114 &> rtspOut4.txt ) &
P4=$!
sleep 5
#echo "waiting for rtsp clients to set up..."
#echo 0
#sleep 1
#echo 1
#sleep 1
#echo 2
#sleep 1
#echo 3
#echo "waiting for {$P1}"
#wait $P1
cat rtspOut1.txt | grep -o 'SSRC:[0-9A-Za-z]*' | awk -F : '{print $2}' &> SSRC1.txt
SSRC1=$(cat SSRC1.txt)
echo $SSRC1
cat rtspOut2.txt | grep -o 'SSRC:[0-9A-Za-z]*' | awk -F : '{print $2}' &> SSRC2.txt
SSRC2=$(cat SSRC2.txt)
echo $SSRC2
cat rtspOut3.txt | grep -o 'SSRC:[0-9A-Za-z]*' | awk -F : '{print $2}' &> SSRC3.txt
SSRC3=$(cat SSRC3.txt)
echo $SSRC3
cat rtspOut4.txt | grep -o 'SSRC:[0-9A-Za-z]*' | awk -F : '{print $2}' &> SSRC4.txt
SSRC4=$(cat SSRC4.txt)
echo $SSRC4
#./scream/scream_sender/bin/scream_sender YWRtaW46YWRtaW5hZG1pbjE= 1 10.19.0.3 31110 10.180.65.28 31111 {$SSRC} 1
./scream/scream_sender/bin/scream_sender -cwvmem 60 -scale 1.0 YWRtaW46YWRtaW5hZG1pbjE= 4 10.9.0.2 31110 10.180.65.28 31113 $SSRC3 0.2 10.180.65.27 31112 $SSRC2 0.2 10.180.65.26 31111 $SSRC1 0.2 10.180.65.29 31114 $SSRC4 1.0 &> screamSender.log
wait $P1 $P2 $P3 $P4
tail -n 35 rtspOut1.txt
This diff is collapsed.
set(CMAKE_C_COMPILER "/usr/bin/cc")
set(CMAKE_C_COMPILER_ARG1 "")
set(CMAKE_C_COMPILER_ID "GNU")
set(CMAKE_C_COMPILER_VERSION "6.3.0")
set(CMAKE_C_COMPILER_WRAPPER "")
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11")
set(CMAKE_C_COMPILE_FEATURES "c_function_prototypes;c_restrict;c_variadic_macros;c_static_assert")
set(CMAKE_C90_COMPILE_FEATURES "c_function_prototypes")
set(CMAKE_C99_COMPILE_FEATURES "c_restrict;c_variadic_macros")
set(CMAKE_C11_COMPILE_FEATURES "c_static_assert")
set(CMAKE_C_PLATFORM_ID "Linux")
set(CMAKE_C_SIMULATE_ID "")
set(CMAKE_C_SIMULATE_VERSION "")
set(CMAKE_AR "/usr/bin/ar")
set(CMAKE_RANLIB "/usr/bin/ranlib")
set(CMAKE_LINKER "/usr/bin/ld")
set(CMAKE_COMPILER_IS_GNUCC 1)
set(CMAKE_C_COMPILER_LOADED 1)
set(CMAKE_C_COMPILER_WORKS TRUE)
set(CMAKE_C_ABI_COMPILED TRUE)
set(CMAKE_COMPILER_IS_MINGW )
set(CMAKE_COMPILER_IS_CYGWIN )
if(CMAKE_COMPILER_IS_CYGWIN)
set(CYGWIN 1)
set(UNIX 1)
endif()
set(CMAKE_C_COMPILER_ENV_VAR "CC")
if(CMAKE_COMPILER_IS_MINGW)
set(MINGW 1)
endif()
set(CMAKE_C_COMPILER_ID_RUN 1)
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
set(CMAKE_C_LINKER_PREFERENCE 10)
# Save compiler ABI information.
set(CMAKE_C_SIZEOF_DATA_PTR "4")
set(CMAKE_C_COMPILER_ABI "ELF")
set(CMAKE_C_LIBRARY_ARCHITECTURE "arm-linux-gnueabihf")
if(CMAKE_C_SIZEOF_DATA_PTR)
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
endif()
if(CMAKE_C_COMPILER_ABI)
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
endif()
if(CMAKE_C_LIBRARY_ARCHITECTURE)
set(CMAKE_LIBRARY_ARCHITECTURE "arm-linux-gnueabihf")
endif()
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
endif()
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "c")
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/arm-linux-gnueabihf/6;/usr/lib/arm-linux-gnueabihf;/usr/lib;/lib/arm-linux-gnueabihf")
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
set(CMAKE_CXX_COMPILER "/usr/bin/c++")
set(CMAKE_CXX_COMPILER_ARG1 "")
set(CMAKE_CXX_COMPILER_ID "GNU")
set(CMAKE_CXX_COMPILER_VERSION "6.3.0")
set(CMAKE_CXX_COMPILER_WRAPPER "")
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14")
set(CMAKE_CXX_COMPILE_FEATURES "cxx_template_template_parameters;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_template_template_parameters")
set(CMAKE_CXX11_COMPILE_FEATURES "cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
set(CMAKE_CXX14_COMPILE_FEATURES "cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
set(CMAKE_CXX_PLATFORM_ID "Linux")
set(CMAKE_CXX_SIMULATE_ID "")
set(CMAKE_CXX_SIMULATE_VERSION "")
set(CMAKE_AR "/usr/bin/ar")
set(CMAKE_RANLIB "/usr/bin/ranlib")
set(CMAKE_LINKER "/usr/bin/ld")
set(CMAKE_COMPILER_IS_GNUCXX 1)
set(CMAKE_CXX_COMPILER_LOADED 1)
set(CMAKE_CXX_COMPILER_WORKS TRUE)
set(CMAKE_CXX_ABI_COMPILED TRUE)
set(CMAKE_COMPILER_IS_MINGW )
set(CMAKE_COMPILER_IS_CYGWIN )
if(CMAKE_COMPILER_IS_CYGWIN)
set(CYGWIN 1)
set(UNIX 1)
endif()
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
if(CMAKE_COMPILER_IS_MINGW)
set(MINGW 1)
endif()
set(CMAKE_CXX_COMPILER_ID_RUN 1)
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;mm;CPP)
set(CMAKE_CXX_LINKER_PREFERENCE 30)
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
# Save compiler ABI information.
set(CMAKE_CXX_SIZEOF_DATA_PTR "4")
set(CMAKE_CXX_COMPILER_ABI "ELF")
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "arm-linux-gnueabihf")
if(CMAKE_CXX_SIZEOF_DATA_PTR)
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
endif()
if(CMAKE_CXX_COMPILER_ABI)
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
endif()
if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
set(CMAKE_LIBRARY_ARCHITECTURE "arm-linux-gnueabihf")
endif()
set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
endif()
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;c")
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/arm-linux-gnueabihf/6;/usr/lib/arm-linux-gnueabihf;/usr/lib;/lib/arm-linux-gnueabihf")
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
set(CMAKE_HOST_SYSTEM "Linux-4.9.41-v7+")
set(CMAKE_HOST_SYSTEM_NAME "Linux")
set(CMAKE_HOST_SYSTEM_VERSION "4.9.41-v7+")
set(CMAKE_HOST_SYSTEM_PROCESSOR "armv7l")
set(CMAKE_SYSTEM "Linux-4.9.41-v7+")
set(CMAKE_SYSTEM_NAME "Linux")
set(CMAKE_SYSTEM_VERSION "4.9.41-v7+")
set(CMAKE_SYSTEM_PROCESSOR "armv7l")
set(CMAKE_CROSSCOMPILING "FALSE")
set(CMAKE_SYSTEM_LOADED 1)
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.7
# Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/pi/scream/rtsp")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/pi/scream/rtsp")
# Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1)
# The C and CXX include file regular expressions for this directory.
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
This diff is collapsed.
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.7
# The generator used is:
set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
# The top level Makefile was generated from the following files:
set(CMAKE_MAKEFILE_DEPENDS
"CMakeCache.txt"
"CMakeFiles/3.7.2/CMakeCCompiler.cmake"
"CMakeFiles/3.7.2/CMakeCXXCompiler.cmake"
"CMakeFiles/3.7.2/CMakeSystem.cmake"
"CMakeLists.txt"
"code/CMakeLists.txt"
"/usr/share/cmake-3.7/Modules/CMakeCInformation.cmake"
"/usr/share/cmake-3.7/Modules/CMakeCXXInformation.cmake"
"/usr/share/cmake-3.7/Modules/CMakeCommonLanguageInclude.cmake"
"/usr/share/cmake-3.7/Modules/CMakeGenericSystem.cmake"
"/usr/share/cmake-3.7/Modules/CMakeLanguageInformation.cmake"
"/usr/share/cmake-3.7/Modules/CMakeSystemSpecificInformation.cmake"
"/usr/share/cmake-3.7/Modules/CMakeSystemSpecificInitialize.cmake"
"/usr/share/cmake-3.7/Modules/Compiler/GNU-C.cmake"
"/usr/share/cmake-3.7/Modules/Compiler/GNU-CXX.cmake"
"/usr/share/cmake-3.7/Modules/Compiler/GNU.cmake"
"/usr/share/cmake-3.7/Modules/Platform/Linux-GNU-C.cmake"
"/usr/share/cmake-3.7/Modules/Platform/Linux-GNU-CXX.cmake"
"/usr/share/cmake-3.7/Modules/Platform/Linux-GNU.cmake"
"/usr/share/cmake-3.7/Modules/Platform/Linux.cmake"
"/usr/share/cmake-3.7/Modules/Platform/UnixPaths.cmake"
)
# The corresponding makefile is:
set(CMAKE_MAKEFILE_OUTPUTS
"Makefile"
"CMakeFiles/cmake.check_cache"
)
# Byproducts of CMake generate step:
set(CMAKE_MAKEFILE_PRODUCTS
"CMakeFiles/CMakeDirectoryInformation.cmake"
"code/CMakeFiles/CMakeDirectoryInformation.cmake"
)
# Dependency information for all targets:
set(CMAKE_DEPEND_INFO_FILES
"code/CMakeFiles/rtsp.dir/DependInfo.cmake"
)
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.7
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
# The main recursive all target
all:
.PHONY : all
# The main recursive preinstall target
preinstall:
.PHONY : preinstall
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/pi/scream/rtsp
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/pi/scream/rtsp
#=============================================================================
# Directory level rules for directory code
# Convenience name for "all" pass in the directory.
code/all: code/CMakeFiles/rtsp.dir/all
.PHONY : code/all
# Convenience name for "clean" pass in the directory.
code/clean: code/CMakeFiles/rtsp.dir/clean
.PHONY : code/clean
# Convenience name for "preinstall" pass in the directory.
code/preinstall:
.PHONY : code/preinstall
#=============================================================================
# Target rules for target code/CMakeFiles/rtsp.dir
# All Build rule for target.
code/CMakeFiles/rtsp.dir/all:
$(MAKE) -f code/CMakeFiles/rtsp.dir/build.make code/CMakeFiles/rtsp.dir/depend
$(MAKE) -f code/CMakeFiles/rtsp.dir/build.make code/CMakeFiles/rtsp.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/pi/scream/rtsp/CMakeFiles --progress-num=1,2 "Built target rtsp"
.PHONY : code/CMakeFiles/rtsp.dir/all
# Include target in all.
all: code/CMakeFiles/rtsp.dir/all
.PHONY : all
# Build rule for subdir invocation for target.
code/CMakeFiles/rtsp.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/pi/scream/rtsp/CMakeFiles 2
$(MAKE) -f CMakeFiles/Makefile2 code/CMakeFiles/rtsp.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/pi/scream/rtsp/CMakeFiles 0
.PHONY : code/CMakeFiles/rtsp.dir/rule
# Convenience name for target.
rtsp: code/CMakeFiles/rtsp.dir/rule
.PHONY : rtsp
# clean rule for target.
code/CMakeFiles/rtsp.dir/clean:
$(MAKE) -f code/CMakeFiles/rtsp.dir/build.make code/CMakeFiles/rtsp.dir/clean
.PHONY : code/CMakeFiles/rtsp.dir/clean
# clean rule for target.
clean: code/CMakeFiles/rtsp.dir/clean
.PHONY : clean
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system
/home/pi/scream/rtsp/CMakeFiles/rebuild_cache.dir
/home/pi/scream/rtsp/CMakeFiles/edit_cache.dir
/home/pi/scream/rtsp/code/CMakeFiles/rebuild_cache.dir
/home/pi/scream/rtsp/code/CMakeFiles/edit_cache.dir
/home/pi/scream/rtsp/code/CMakeFiles/rtsp.dir
# This file is generated by cmake for dependency checking of the CMakeCache.txt file
const char features[] = {"\n"
"C_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404
"1"
#else
"0"
#endif
"c_function_prototypes\n"
"C_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
"1"
#else
"0"
#endif
"c_restrict\n"
"C_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201000L
"1"
#else
"0"
#endif
"c_static_assert\n"
"C_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
"1"
#else
"0"
#endif
"c_variadic_macros\n"
};
int main(int argc, char** argv) { (void)argv; return features[argc]; }
This diff is collapsed.
cmake_minimum_required(VERSION 2.6)
PROJECT( scream )
message("Source Dir:" ${scream_SOURCE_DIR})
SET(EXECUTABLE_OUTPUT_PATH ${scream_SOURCE_DIR}/bin)
SET(LIBRARY_OUTPUT_PATH ${scream_SOURCE_DIR}/lib)
SET(RUNTIME_OUTPUT_DIRECTORY ${scream_SOURCE_DIR}/bin)
SET(scream_BIN ${scream_SOURCE_DIR}/bin)
message("scream_SOURCE_DIR directories:" ${scream_SOURCE_DIR})
IF(UNIX)
add_definitions(-std=c++0x)
ENDIF(UNIX)
</