cmake: make formatting of install statements follow one pattern

Change-Id: Ib7d571af629b0af78397a411b0cca409a6d218d8
porting_to_gr38
Piotr Krysik 3 years ago committed by Piotr Krysik
parent 21b0f7d228
commit df417739b0
  1. 4
      CMakeLists.txt
  2. 6
      apps/apps_data/CMakeLists.txt
  3. 6
      docs/CMakeLists.txt
  4. 6
      docs/doxygen/CMakeLists.txt
  5. 6
      grc/CMakeLists.txt
  6. 3
      grc/decoding/CMakeLists.txt
  7. 3
      grc/decryption/CMakeLists.txt
  8. 3
      grc/demapping/CMakeLists.txt
  9. 3
      grc/flow_control/CMakeLists.txt
  10. 3
      grc/misc_utils/CMakeLists.txt
  11. 3
      grc/qa_utils/CMakeLists.txt
  12. 3
      grc/receiver/CMakeLists.txt
  13. 3
      grc/transmitter/CMakeLists.txt
  14. 3
      grc/trx/CMakeLists.txt
  15. 3
      include/grgsm/CMakeLists.txt
  16. 7
      include/grgsm/decoding/CMakeLists.txt
  17. 6
      include/grgsm/decryption/CMakeLists.txt
  18. 3
      include/grgsm/demapping/CMakeLists.txt
  19. 8
      include/grgsm/flow_control/CMakeLists.txt
  20. 6
      include/grgsm/misc_utils/CMakeLists.txt
  21. 6
      include/grgsm/qa_utils/CMakeLists.txt
  22. 6
      include/grgsm/receiver/CMakeLists.txt
  23. 5
      include/grgsm/transmitter/CMakeLists.txt
  24. 3
      include/grgsm/trx/CMakeLists.txt
  25. 3
      python/demapping/CMakeLists.txt
  26. 3
      python/receiver/CMakeLists.txt
  27. 3
      python/transmitter/CMakeLists.txt

@ -175,6 +175,8 @@ add_subdirectory(grc)
# Install cmake search helper for this library
########################################################################
install(FILES cmake/Modules/gr-gsmConfig.cmake
install(
FILES
cmake/Modules/gr-gsmConfig.cmake
DESTINATION ${CMAKE_MODULES_DIR}/grgsm
)

@ -35,7 +35,9 @@ if(UNIX AND HAVE_XDG_UTILS)
${CMAKE_CURRENT_BINARY_DIR}/grgsm_setup_freedesktop
@ONLY)
install(
PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/grgsm_setup_freedesktop
DESTINATION ${GR_PKG_LIBEXEC_DIR} COMPONENT "gr-gsm"
PROGRAMS
${CMAKE_CURRENT_BINARY_DIR}/grgsm_setup_freedesktop
DESTINATION ${GR_PKG_LIBEXEC_DIR}
COMPONENT "gr-gsm"
)
endif(UNIX AND HAVE_XDG_UTILS)

@ -54,7 +54,11 @@ if(NOT RST2MAN_EXECUTABLE)
message(WARNING "rst2man from python-docutils is required to build man pages")
else()
build_man_page(MAN1_OUTPUT grgsm_livemon.rst grgsm_livemon.1)
install(FILES ${MAN1_OUTPUT} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1)
install(
FILES
${MAN1_OUTPUT}
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1
)
endif()

@ -50,4 +50,8 @@ add_custom_command(
add_custom_target(doxygen_target ALL DEPENDS ${BUILT_DIRS})
install(DIRECTORY ${BUILT_DIRS} DESTINATION ${GR_PKG_DOC_DIR})
install(
DIRECTORY
${BUILT_DIRS}
DESTINATION ${GR_PKG_DOC_DIR}
)

@ -25,6 +25,8 @@ add_subdirectory(flow_control)
add_subdirectory(misc_utils)
add_subdirectory(transmitter)
add_subdirectory(trx)
install(FILES
gsm.tree.yml DESTINATION share/gnuradio/grc/blocks
install(
FILES
gsm.tree.yml
DESTINATION share/gnuradio/grc/blocks
)

@ -17,7 +17,8 @@
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
install(FILES
install(
FILES
gsm_control_channels_decoder.block.yml
gsm_tch_f_decoder.block.yml
gsm_tch_h_decoder.block.yml

@ -17,7 +17,8 @@
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
install(FILES
install(
FILES
gsm_decryption.block.yml
DESTINATION share/gnuradio/grc/blocks
)

@ -17,7 +17,8 @@
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
install(FILES
install(
FILES
gsm_universal_ctrl_chans_demapper.block.yml
gsm_bcch_ccch_demapper.block.yml
gsm_bcch_ccch_sdcch4_demapper.block.yml

@ -17,7 +17,8 @@
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
install(FILES
install(
FILES
gsm_burst_timeslot_splitter.block.yml
gsm_burst_fnr_filter.block.yml
gsm_burst_timeslot_filter.block.yml

@ -17,7 +17,8 @@
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
install(FILES
install(
FILES
gsm_extract_system_info.block.yml
gsm_extract_immediate_assignment.block.yml
gsm_collect_system_info.block.yml

@ -17,7 +17,8 @@
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
install(FILES
install(
FILES
gsm_burst_source.block.xml
gsm_burst_sink.block.xml
gsm_message_source.block.xml

@ -17,7 +17,8 @@
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
install(FILES
install(
FILES
gsm_input.block.yml
gsm_receiver.block.yml
gsm_receiver_with_uplink.block.yml

@ -17,7 +17,8 @@
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
install(FILES
install(
FILES
gsm_gmsk_mod.block.yml
gsm_txtime_bursts_tagger.block.yml
gsm_txtime_setter.block.yml

@ -17,7 +17,8 @@
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
install(FILES
install(
FILES
gsm_trx_burst_if.block.yml
DESTINATION share/gnuradio/grc/blocks
)

@ -20,7 +20,8 @@
########################################################################
# Install public header files
########################################################################
install(FILES
install(
FILES
plotting.hpp
api.h
gsmtap.h

@ -20,9 +20,10 @@
########################################################################
# Install public header files
########################################################################
install(FILES
control_channels_decoder.h
install(
FILES
control_channels_decoder.h
tch_f_decoder.h
tch_h_decoder.h
DESTINATION include/grgsm/decoding
DESTINATION include/grgsm/decoding
)

@ -20,6 +20,8 @@
########################################################################
# Install public header files
########################################################################
install(FILES
decryption.h DESTINATION include/grgsm/decoding
install(
FILES
decryption.h
DESTINATION include/grgsm/decoding
)

@ -20,7 +20,8 @@
########################################################################
# Install public header files
########################################################################
install(FILES
install(
FILES
universal_ctrl_chans_demapper.h
tch_f_chans_demapper.h
tch_h_chans_demapper.h

@ -20,7 +20,8 @@
########################################################################
# Install public header files
########################################################################
install(FILES
install(
FILES
common.h
burst_timeslot_splitter.h
burst_sdcch_subslot_splitter.h
@ -28,6 +29,7 @@ install(FILES
burst_sdcch_subslot_filter.h
burst_fnr_filter.h
burst_type_filter.h
dummy_burst_filter.h
uplink_downlink_splitter.h DESTINATION include/grgsm/flow_control
dummy_burst_filter.h
uplink_downlink_splitter.h
DESTINATION include/grgsm/flow_control
)

@ -20,7 +20,8 @@
########################################################################
# Install public header files
########################################################################
install(FILES
install(
FILES
bursts_printer.h
burst_file_source.h
burst_file_sink.h
@ -38,5 +39,6 @@ install(FILES
burst_to_fn_time.h
controlled_fractional_resampler_cc.h
time_spec.h
fn_time.h DESTINATION include/grgsm/misc_utils
fn_time.h
DESTINATION include/grgsm/misc_utils
)

@ -20,9 +20,11 @@
########################################################################
# Install public header files
########################################################################
install(FILES
install(
FILES
burst_sink.h
burst_source.h
message_source.h
message_sink.h DESTINATION include/grgsm/qa_utils
message_sink.h
DESTINATION include/grgsm/qa_utils
)

@ -20,8 +20,10 @@
########################################################################
# Install public header files
########################################################################
install(FILES
install(
FILES
clock_offset_control.h
cx_channel_hopper.h
receiver.h DESTINATION include/grgsm/receiver
receiver.h
DESTINATION include/grgsm/receiver
)

@ -20,8 +20,9 @@
########################################################################
# Install public header files
########################################################################
install(FILES
txtime_setter.h
install(
FILES
txtime_setter.h
preprocess_tx_burst.h
gen_test_ab.h
DESTINATION include/grgsm/transmitter

@ -20,7 +20,8 @@
########################################################################
# Install public header files
########################################################################
install(FILES
install(
FILES
trx_burst_if.h
DESTINATION include/grgsm/trx
)

@ -21,5 +21,6 @@ GR_PYTHON_INSTALL(
FILES
gsm_bcch_ccch_demapper.py
gsm_bcch_ccch_sdcch4_demapper.py
gsm_sdcch8_demapper.py DESTINATION ${GR_PYTHON_DIR}/grgsm
gsm_sdcch8_demapper.py
DESTINATION ${GR_PYTHON_DIR}/grgsm
)

@ -23,5 +23,6 @@ GR_PYTHON_INSTALL(
fcch_burst_tagger.py
sch_detector.py
fcch_detector.py
chirpz.py DESTINATION ${GR_PYTHON_DIR}/grgsm
chirpz.py
DESTINATION ${GR_PYTHON_DIR}/grgsm
)

@ -20,5 +20,6 @@
GR_PYTHON_INSTALL(
FILES
txtime_bursts_tagger.py
gsm_gmsk_mod.py DESTINATION ${GR_PYTHON_DIR}/grgsm
gsm_gmsk_mod.py
DESTINATION ${GR_PYTHON_DIR}/grgsm
)

Loading…
Cancel
Save