From ac9475c591e439d119824a204ff387e2b34d3e05 Mon Sep 17 00:00:00 2001 From: Radoslaw Karabowicz Date: Wed, 15 Jun 2016 12:14:43 +0200 Subject: [PATCH] Modified the ROOTMacros.cmake to allow GENERATE_EXECUTABLE() to install executables in directory set by BIN_DESTINATION (or in bin/ if not set). Changed the location of the executables: - from build/bin/ to build/bin/examples/example-name/ - from install/bin/ to install/examples/example-name/bin/ --- examples/MQ/1-sampler-sink/CMakeLists.txt | 9 +++++++-- examples/MQ/1-sampler-sink/startMQEx1.sh.in | 4 ++-- examples/MQ/2-sampler-processor-sink/CMakeLists.txt | 9 +++++++-- .../MQ/2-sampler-processor-sink/startMQEx2.sh.in | 8 ++++---- examples/MQ/3-dds/CMakeLists.txt | 12 +++++++++--- examples/MQ/3-dds/ex3-dds-topology.xml | 6 +++--- examples/MQ/4-copypush/CMakeLists.txt | 9 +++++++-- examples/MQ/4-copypush/startMQEx4.sh.in | 6 +++--- examples/MQ/5-req-rep/CMakeLists.txt | 9 +++++++-- examples/MQ/5-req-rep/startMQEx5.sh.in | 4 ++-- examples/MQ/6-multiple-channels/CMakeLists.txt | 9 +++++++-- examples/MQ/6-multiple-channels/startMQEx6.sh.in | 6 +++--- examples/MQ/8-multipart/CMakeLists.txt | 9 +++++++-- examples/MQ/8-multipart/startMQEx8.sh.in | 4 ++-- 14 files changed, 70 insertions(+), 34 deletions(-) diff --git a/examples/MQ/1-sampler-sink/CMakeLists.txt b/examples/MQ/1-sampler-sink/CMakeLists.txt index 018aca21..3fa2919b 100644 --- a/examples/MQ/1-sampler-sink/CMakeLists.txt +++ b/examples/MQ/1-sampler-sink/CMakeLists.txt @@ -6,8 +6,10 @@ # copied verbatim in the file "LICENSE" # ################################################################################ -configure_file(${CMAKE_SOURCE_DIR}/examples/MQ/1-sampler-sink/ex1-sampler-sink.json ${CMAKE_BINARY_DIR}/bin/config/ex1-sampler-sink.json) -configure_file(${CMAKE_SOURCE_DIR}/examples/MQ/1-sampler-sink/startMQEx1.sh.in ${CMAKE_BINARY_DIR}/bin/startMQEx1.sh) +configure_file(${CMAKE_SOURCE_DIR}/examples/MQ/1-sampler-sink/ex1-sampler-sink.json + ${CMAKE_BINARY_DIR}/bin/config/ex1-sampler-sink.json) +configure_file(${CMAKE_SOURCE_DIR}/examples/MQ/1-sampler-sink/startMQEx1.sh.in + ${CMAKE_BINARY_DIR}/bin/examples/MQ/1-sampler-sink/startMQEx1.sh) Set(INCLUDE_DIRECTORIES ${CMAKE_SOURCE_DIR}/fairmq @@ -61,6 +63,9 @@ Set(Exe_Source list(LENGTH Exe_Names _length) math(EXPR _length ${_length}-1) +set(BIN_DESTINATION share/fairbase/examples/MQ/1-sampler-sink/bin) +set(EXECUTABLE_OUTPUT_PATH "${EXECUTABLE_OUTPUT_PATH}/examples/MQ/1-sampler-sink") + ForEach(_file RANGE 0 ${_length}) list(GET Exe_Names ${_file} _name) list(GET Exe_Source ${_file} _src) diff --git a/examples/MQ/1-sampler-sink/startMQEx1.sh.in b/examples/MQ/1-sampler-sink/startMQEx1.sh.in index 3db4d525..2fe46c85 100755 --- a/examples/MQ/1-sampler-sink/startMQEx1.sh.in +++ b/examples/MQ/1-sampler-sink/startMQEx1.sh.in @@ -4,9 +4,9 @@ ex1config="@CMAKE_BINARY_DIR@/bin/config/ex1-sampler-sink.json" SAMPLER="ex1-sampler" SAMPLER+=" --id sampler1" SAMPLER+=" --mq-config $ex1config" -xterm -geometry 80x23+0+0 -hold -e @CMAKE_BINARY_DIR@/bin/$SAMPLER & +xterm -geometry 80x23+0+0 -hold -e @CMAKE_BINARY_DIR@/bin/examples/MQ/1-sampler-sink/$SAMPLER & SINK="ex1-sink" SINK+=" --id sink1" SINK+=" --mq-config $ex1config" -xterm -geometry 80x23+500+0 -hold -e @CMAKE_BINARY_DIR@/bin/$SINK & \ No newline at end of file +xterm -geometry 80x23+500+0 -hold -e @CMAKE_BINARY_DIR@/bin/examples/MQ/1-sampler-sink/$SINK & diff --git a/examples/MQ/2-sampler-processor-sink/CMakeLists.txt b/examples/MQ/2-sampler-processor-sink/CMakeLists.txt index 1e2343be..348000b5 100644 --- a/examples/MQ/2-sampler-processor-sink/CMakeLists.txt +++ b/examples/MQ/2-sampler-processor-sink/CMakeLists.txt @@ -6,8 +6,10 @@ # copied verbatim in the file "LICENSE" # ################################################################################ -configure_file(${CMAKE_SOURCE_DIR}/examples/MQ/2-sampler-processor-sink/ex2-sampler-processor-sink.json ${CMAKE_BINARY_DIR}/bin/config/ex2-sampler-processor-sink.json) -configure_file(${CMAKE_SOURCE_DIR}/examples/MQ/2-sampler-processor-sink/startMQEx2.sh.in ${CMAKE_BINARY_DIR}/bin/startMQEx2.sh) +configure_file(${CMAKE_SOURCE_DIR}/examples/MQ/2-sampler-processor-sink/ex2-sampler-processor-sink.json + ${CMAKE_BINARY_DIR}/bin/config/ex2-sampler-processor-sink.json) +configure_file(${CMAKE_SOURCE_DIR}/examples/MQ/2-sampler-processor-sink/startMQEx2.sh.in + ${CMAKE_BINARY_DIR}/bin/examples/MQ/2-sampler-processor-sink/startMQEx2.sh) Set(INCLUDE_DIRECTORIES ${CMAKE_SOURCE_DIR}/fairmq @@ -64,6 +66,9 @@ Set(Exe_Source list(LENGTH Exe_Names _length) math(EXPR _length ${_length}-1) +set(BIN_DESTINATION share/fairbase/examples/MQ/2-sampler-processor-sink/bin) +set(EXECUTABLE_OUTPUT_PATH "${EXECUTABLE_OUTPUT_PATH}/examples/MQ/2-sampler-processor-sink") + ForEach(_file RANGE 0 ${_length}) list(GET Exe_Names ${_file} _name) list(GET Exe_Source ${_file} _src) diff --git a/examples/MQ/2-sampler-processor-sink/startMQEx2.sh.in b/examples/MQ/2-sampler-processor-sink/startMQEx2.sh.in index 0defbd39..c9ba93ed 100755 --- a/examples/MQ/2-sampler-processor-sink/startMQEx2.sh.in +++ b/examples/MQ/2-sampler-processor-sink/startMQEx2.sh.in @@ -4,21 +4,21 @@ ex2config="@CMAKE_BINARY_DIR@/bin/config/ex2-sampler-processor-sink.json" SAMPLER="ex2-sampler" SAMPLER+=" --id sampler1" SAMPLER+=" --mq-config $ex2config" -xterm -geometry 80x23+0+0 -hold -e @CMAKE_BINARY_DIR@/bin/$SAMPLER & +xterm -geometry 80x23+0+0 -hold -e @CMAKE_BINARY_DIR@/bin/examples/MQ/2-sampler-processor-sink/$SAMPLER & PROCESSOR1="ex2-processor" PROCESSOR1+=" --id processor1" PROCESSOR1+=" --mq-config $ex2config" PROCESSOR1+=" --config-key processor" -xterm -geometry 80x23+500+0 -hold -e @CMAKE_BINARY_DIR@/bin/$PROCESSOR1 & +xterm -geometry 80x23+500+0 -hold -e @CMAKE_BINARY_DIR@/bin/examples/MQ/2-sampler-processor-sink/$PROCESSOR1 & PROCESSOR2="ex2-processor" PROCESSOR2+=" --id processor2" PROCESSOR2+=" --mq-config $ex2config" PROCESSOR2+=" --config-key processor" -xterm -geometry 80x23+500+330 -hold -e @CMAKE_BINARY_DIR@/bin/$PROCESSOR2 & +xterm -geometry 80x23+500+330 -hold -e @CMAKE_BINARY_DIR@/bin/examples/MQ/2-sampler-processor-sink/$PROCESSOR2 & SINK="ex2-sink" SINK+=" --id sink1" SINK+=" --mq-config $ex2config" -xterm -geometry 80x23+1000+0 -hold -e @CMAKE_BINARY_DIR@/bin/$SINK & +xterm -geometry 80x23+1000+0 -hold -e @CMAKE_BINARY_DIR@/bin/examples/MQ/2-sampler-processor-sink/$SINK & diff --git a/examples/MQ/3-dds/CMakeLists.txt b/examples/MQ/3-dds/CMakeLists.txt index b236e04e..9e022950 100644 --- a/examples/MQ/3-dds/CMakeLists.txt +++ b/examples/MQ/3-dds/CMakeLists.txt @@ -6,9 +6,12 @@ # copied verbatim in the file "LICENSE" # ################################################################################ -configure_file(${CMAKE_SOURCE_DIR}/examples/MQ/3-dds/ex3-dds-topology.xml ${CMAKE_BINARY_DIR}/bin/config/ex3-dds-topology.xml) -configure_file(${CMAKE_SOURCE_DIR}/examples/MQ/3-dds/ex3-dds-hosts.cfg ${CMAKE_BINARY_DIR}/bin/config/ex3-dds-hosts.cfg COPYONLY) -configure_file(${CMAKE_SOURCE_DIR}/examples/MQ/3-dds/ex3-dds.json ${CMAKE_BINARY_DIR}/bin/config/ex3-dds.json COPYONLY) +configure_file(${CMAKE_SOURCE_DIR}/examples/MQ/3-dds/ex3-dds-topology.xml + ${CMAKE_BINARY_DIR}/bin/config/ex3-dds-topology.xml) +configure_file(${CMAKE_SOURCE_DIR}/examples/MQ/3-dds/ex3-dds-hosts.cfg + ${CMAKE_BINARY_DIR}/bin/config/ex3-dds-hosts.cfg COPYONLY) +configure_file(${CMAKE_SOURCE_DIR}/examples/MQ/3-dds/ex3-dds.json + ${CMAKE_BINARY_DIR}/bin/config/ex3-dds.json COPYONLY) If(DDS_FOUND) add_definitions(-DDDS_FOUND) @@ -78,6 +81,9 @@ Set(Exe_Source list(LENGTH Exe_Names _length) math(EXPR _length ${_length}-1) +set(BIN_DESTINATION share/fairbase/examples/MQ/3-dds/bin) +set(EXECUTABLE_OUTPUT_PATH "${EXECUTABLE_OUTPUT_PATH}/examples/MQ/3-dds") + ForEach(_file RANGE 0 ${_length}) list(GET Exe_Names ${_file} _name) list(GET Exe_Source ${_file} _src) diff --git a/examples/MQ/3-dds/ex3-dds-topology.xml b/examples/MQ/3-dds/ex3-dds-topology.xml index c1dcbd61..091b2502 100644 --- a/examples/MQ/3-dds/ex3-dds-topology.xml +++ b/examples/MQ/3-dds/ex3-dds-topology.xml @@ -16,7 +16,7 @@ - @CMAKE_BINARY_DIR@/bin/ex3-sampler --id sampler --log-color false --control dds --mq-config @CMAKE_BINARY_DIR@/bin/config/ex3-dds.json + @CMAKE_BINARY_DIR@/bin/examples/MQ/3-dds/ex3-sampler --id sampler --log-color false --control dds --mq-config @CMAKE_BINARY_DIR@/bin/config/ex3-dds.json SamplerWorker samplerAddr @@ -24,7 +24,7 @@ - @CMAKE_BINARY_DIR@/bin/ex3-processor --id processor_%taskIndex% --config-key processor --log-color false --control dds --mq-config @CMAKE_BINARY_DIR@/bin/config/ex3-dds.json + @CMAKE_BINARY_DIR@/bin/examples/MQ/3-dds/ex3-processor --id processor_%taskIndex% --config-key processor --log-color false --control dds --mq-config @CMAKE_BINARY_DIR@/bin/config/ex3-dds.json ProcessorWorker samplerAddr @@ -33,7 +33,7 @@ - @CMAKE_BINARY_DIR@/bin/ex3-sink --id sink --log-color false --control dds --mq-config @CMAKE_BINARY_DIR@/bin/config/ex3-dds.json + @CMAKE_BINARY_DIR@/bin/examples/MQ/3-dds/ex3-sink --id sink --log-color false --control dds --mq-config @CMAKE_BINARY_DIR@/bin/config/ex3-dds.json SinkWorker sinkAddr diff --git a/examples/MQ/4-copypush/CMakeLists.txt b/examples/MQ/4-copypush/CMakeLists.txt index a330ff54..d4ed9e82 100644 --- a/examples/MQ/4-copypush/CMakeLists.txt +++ b/examples/MQ/4-copypush/CMakeLists.txt @@ -6,8 +6,10 @@ # copied verbatim in the file "LICENSE" # ################################################################################ -configure_file(${CMAKE_SOURCE_DIR}/examples/MQ/4-copypush/ex4-copypush.json ${CMAKE_BINARY_DIR}/bin/config/ex4-copypush.json) -configure_file(${CMAKE_SOURCE_DIR}/examples/MQ/4-copypush/startMQEx4.sh.in ${CMAKE_BINARY_DIR}/bin/startMQEx4.sh) +configure_file(${CMAKE_SOURCE_DIR}/examples/MQ/4-copypush/ex4-copypush.json + ${CMAKE_BINARY_DIR}/bin/config/ex4-copypush.json) +configure_file(${CMAKE_SOURCE_DIR}/examples/MQ/4-copypush/startMQEx4.sh.in + ${CMAKE_BINARY_DIR}/bin/examples/MQ/4-copypush/startMQEx4.sh) Set(INCLUDE_DIRECTORIES ${CMAKE_SOURCE_DIR}/fairmq @@ -61,6 +63,9 @@ Set(Exe_Source list(LENGTH Exe_Names _length) math(EXPR _length ${_length}-1) +set(BIN_DESTINATION share/fairbase/examples/MQ/4-copypush/bin) +set(EXECUTABLE_OUTPUT_PATH "${EXECUTABLE_OUTPUT_PATH}/examples/MQ/4-copypush") + ForEach(_file RANGE 0 ${_length}) list(GET Exe_Names ${_file} _name) list(GET Exe_Source ${_file} _src) diff --git a/examples/MQ/4-copypush/startMQEx4.sh.in b/examples/MQ/4-copypush/startMQEx4.sh.in index 17aa5ad2..c5f92956 100755 --- a/examples/MQ/4-copypush/startMQEx4.sh.in +++ b/examples/MQ/4-copypush/startMQEx4.sh.in @@ -4,14 +4,14 @@ ex4config="@CMAKE_BINARY_DIR@/bin/config/ex4-copypush.json" SAMPLER="ex4-sampler" SAMPLER+=" --id sampler1" SAMPLER+=" --mq-config $ex4config" -xterm -geometry 80x23+0+165 -hold -e @CMAKE_BINARY_DIR@/bin/$SAMPLER & +xterm -geometry 80x23+0+165 -hold -e @CMAKE_BINARY_DIR@/bin/examples/MQ/4-copypush/$SAMPLER & SINK1="ex4-sink" SINK1+=" --id sink1" SINK1+=" --mq-config $ex4config" -xterm -geometry 80x23+500+0 -hold -e @CMAKE_BINARY_DIR@/bin/$SINK1 & +xterm -geometry 80x23+500+0 -hold -e @CMAKE_BINARY_DIR@/bin/examples/MQ/4-copypush/$SINK1 & SINK2="ex4-sink" SINK2+=" --id sink2" SINK2+=" --mq-config $ex4config" -xterm -geometry 80x23+500+330 -hold -e @CMAKE_BINARY_DIR@/bin/$SINK2 & +xterm -geometry 80x23+500+330 -hold -e @CMAKE_BINARY_DIR@/bin/examples/MQ/4-copypush/$SINK2 & diff --git a/examples/MQ/5-req-rep/CMakeLists.txt b/examples/MQ/5-req-rep/CMakeLists.txt index 579e8dc9..705d2138 100644 --- a/examples/MQ/5-req-rep/CMakeLists.txt +++ b/examples/MQ/5-req-rep/CMakeLists.txt @@ -6,8 +6,10 @@ # copied verbatim in the file "LICENSE" # ################################################################################ -configure_file(${CMAKE_SOURCE_DIR}/examples/MQ/5-req-rep/ex5-req-rep.json ${CMAKE_BINARY_DIR}/bin/config/ex5-req-rep.json) -configure_file(${CMAKE_SOURCE_DIR}/examples/MQ/5-req-rep/startMQEx5.sh.in ${CMAKE_BINARY_DIR}/bin/startMQEx5.sh) +configure_file(${CMAKE_SOURCE_DIR}/examples/MQ/5-req-rep/ex5-req-rep.json + ${CMAKE_BINARY_DIR}/bin/config/ex5-req-rep.json) +configure_file(${CMAKE_SOURCE_DIR}/examples/MQ/5-req-rep/startMQEx5.sh.in + ${CMAKE_BINARY_DIR}/bin/examples/MQ/5-req-rep/startMQEx5.sh) Set(INCLUDE_DIRECTORIES ${CMAKE_SOURCE_DIR}/fairmq @@ -61,6 +63,9 @@ set(Exe_Source list(LENGTH Exe_Names _length) math(EXPR _length ${_length}-1) +set(BIN_DESTINATION share/fairbase/examples/MQ/5-req-rep/bin) +set(EXECUTABLE_OUTPUT_PATH "${EXECUTABLE_OUTPUT_PATH}/examples/MQ/5-req-rep") + ForEach(_file RANGE 0 ${_length}) list(GET Exe_Names ${_file} _name) list(GET Exe_Source ${_file} _src) diff --git a/examples/MQ/5-req-rep/startMQEx5.sh.in b/examples/MQ/5-req-rep/startMQEx5.sh.in index edbbde2e..4245392b 100755 --- a/examples/MQ/5-req-rep/startMQEx5.sh.in +++ b/examples/MQ/5-req-rep/startMQEx5.sh.in @@ -4,9 +4,9 @@ ex5config="@CMAKE_BINARY_DIR@/bin/config/ex5-req-rep.json" CLIENT="ex5-client" CLIENT+=" --id client" CLIENT+=" --mq-config $ex5config" -xterm -geometry 80x23+0+0 -hold -e @CMAKE_BINARY_DIR@/bin/$CLIENT & +xterm -geometry 80x23+0+0 -hold -e @CMAKE_BINARY_DIR@/bin/examples/MQ/5-req-rep/$CLIENT & SERVER="ex5-server" SERVER+=" --id server" SERVER+=" --mq-config $ex5config" -xterm -geometry 80x23+500+0 -hold -e @CMAKE_BINARY_DIR@/bin/$SERVER & +xterm -geometry 80x23+500+0 -hold -e @CMAKE_BINARY_DIR@/bin/examples/MQ/5-req-rep/$SERVER & diff --git a/examples/MQ/6-multiple-channels/CMakeLists.txt b/examples/MQ/6-multiple-channels/CMakeLists.txt index 990b49c7..db836985 100644 --- a/examples/MQ/6-multiple-channels/CMakeLists.txt +++ b/examples/MQ/6-multiple-channels/CMakeLists.txt @@ -6,8 +6,10 @@ # copied verbatim in the file "LICENSE" # ################################################################################ -configure_file(${CMAKE_SOURCE_DIR}/examples/MQ/6-multiple-channels/ex6-multiple-channels.json ${CMAKE_BINARY_DIR}/bin/config/ex6-multiple-channels.json) -configure_file(${CMAKE_SOURCE_DIR}/examples/MQ/6-multiple-channels/startMQEx6.sh.in ${CMAKE_BINARY_DIR}/bin/startMQEx6.sh) +configure_file(${CMAKE_SOURCE_DIR}/examples/MQ/6-multiple-channels/ex6-multiple-channels.json + ${CMAKE_BINARY_DIR}/bin/config/ex6-multiple-channels.json) +configure_file(${CMAKE_SOURCE_DIR}/examples/MQ/6-multiple-channels/startMQEx6.sh.in + ${CMAKE_BINARY_DIR}/bin/examples/MQ/6-multiple-channels/startMQEx6.sh) Set(INCLUDE_DIRECTORIES ${CMAKE_SOURCE_DIR}/fairmq @@ -64,6 +66,9 @@ Set(Exe_Source list(LENGTH Exe_Names _length) math(EXPR _length ${_length}-1) +set(BIN_DESTINATION share/fairbase/examples/MQ/6-multiple-channels/bin) +set(EXECUTABLE_OUTPUT_PATH "${EXECUTABLE_OUTPUT_PATH}/examples/MQ/6-multiple-channels") + ForEach(_file RANGE 0 ${_length}) list(GET Exe_Names ${_file} _name) list(GET Exe_Source ${_file} _src) diff --git a/examples/MQ/6-multiple-channels/startMQEx6.sh.in b/examples/MQ/6-multiple-channels/startMQEx6.sh.in index caf4a54c..fd01594c 100755 --- a/examples/MQ/6-multiple-channels/startMQEx6.sh.in +++ b/examples/MQ/6-multiple-channels/startMQEx6.sh.in @@ -4,14 +4,14 @@ ex6config="@CMAKE_BINARY_DIR@/bin/config/ex6-multiple-channels.json" SAMPLER="ex6-sampler" SAMPLER+=" --id sampler1" SAMPLER+=" --mq-config $ex6config" -xterm -geometry 80x23+0+0 -hold -e @CMAKE_BINARY_DIR@/bin/$SAMPLER & +xterm -geometry 80x23+0+0 -hold -e @CMAKE_BINARY_DIR@/bin/examples/MQ/6-multiple-channels/$SAMPLER & SINK="ex6-sink" SINK+=" --id sink1" SINK+=" --mq-config $ex6config" -xterm -geometry 80x23+500+0 -hold -e @CMAKE_BINARY_DIR@/bin/$SINK & +xterm -geometry 80x23+500+0 -hold -e @CMAKE_BINARY_DIR@/bin/examples/MQ/6-multiple-channels/$SINK & BROADCASTER="ex6-broadcaster" BROADCASTER+=" --id broadcaster1" BROADCASTER+=" --mq-config $ex6config" -xterm -geometry 80x23+250+330 -hold -e @CMAKE_BINARY_DIR@/bin/$BROADCASTER & +xterm -geometry 80x23+250+330 -hold -e @CMAKE_BINARY_DIR@/bin/examples/MQ/6-multiple-channels/$BROADCASTER & diff --git a/examples/MQ/8-multipart/CMakeLists.txt b/examples/MQ/8-multipart/CMakeLists.txt index 178e4c8c..d64bd500 100644 --- a/examples/MQ/8-multipart/CMakeLists.txt +++ b/examples/MQ/8-multipart/CMakeLists.txt @@ -6,8 +6,10 @@ # copied verbatim in the file "LICENSE" # ################################################################################ -configure_file(${CMAKE_SOURCE_DIR}/examples/MQ/8-multipart/ex8-multipart.json ${CMAKE_BINARY_DIR}/bin/config/ex8-multipart.json) -configure_file(${CMAKE_SOURCE_DIR}/examples/MQ/8-multipart/startMQEx8.sh.in ${CMAKE_BINARY_DIR}/bin/startMQEx8.sh) +configure_file(${CMAKE_SOURCE_DIR}/examples/MQ/8-multipart/ex8-multipart.json + ${CMAKE_BINARY_DIR}/bin/config/ex8-multipart.json) +configure_file(${CMAKE_SOURCE_DIR}/examples/MQ/8-multipart/startMQEx8.sh.in + ${CMAKE_BINARY_DIR}/bin/examples/MQ/8-multipart/startMQEx8.sh) Set(INCLUDE_DIRECTORIES ${CMAKE_SOURCE_DIR}/fairmq @@ -61,6 +63,9 @@ Set(Exe_Source list(LENGTH Exe_Names _length) math(EXPR _length ${_length}-1) +set(BIN_DESTINATION share/fairbase/examples/MQ/8-multipart/bin) +set(EXECUTABLE_OUTPUT_PATH "${EXECUTABLE_OUTPUT_PATH}/examples/MQ/8-multipart") + ForEach(_file RANGE 0 ${_length}) list(GET Exe_Names ${_file} _name) list(GET Exe_Source ${_file} _src) diff --git a/examples/MQ/8-multipart/startMQEx8.sh.in b/examples/MQ/8-multipart/startMQEx8.sh.in index c6620056..002c44b2 100755 --- a/examples/MQ/8-multipart/startMQEx8.sh.in +++ b/examples/MQ/8-multipart/startMQEx8.sh.in @@ -4,9 +4,9 @@ ex8config="@CMAKE_BINARY_DIR@/bin/config/ex8-multipart.json" SAMPLER="ex8-sampler" SAMPLER+=" --id sampler1" SAMPLER+=" --mq-config $ex8config" -xterm -geometry 80x23+0+0 -hold -e @CMAKE_BINARY_DIR@/bin/$SAMPLER & +xterm -geometry 80x23+0+0 -hold -e @CMAKE_BINARY_DIR@/bin/examples/MQ/8-multipart/$SAMPLER & SINK="ex8-sink" SINK+=" --id sink1" SINK+=" --mq-config $ex8config" -xterm -geometry 80x23+500+0 -hold -e @CMAKE_BINARY_DIR@/bin/$SINK & \ No newline at end of file +xterm -geometry 80x23+500+0 -hold -e @CMAKE_BINARY_DIR@/bin/examples/MQ/8-multipart/$SINK &