Skip to content

Commit

Permalink
Changing tabs to spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Krysik committed Jun 4, 2018
1 parent 7fd5b6f commit c16b35c
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions apps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,35 +22,35 @@ add_subdirectory(helpers)
#add_subdirectory(apps_data)

SET(PYTHONPATH
${CMAKE_SOURCE_DIR}/python
${CMAKE_SOURCE_DIR}/python/misc_utils
${CMAKE_SOURCE_DIR}/python/demapping
${CMAKE_SOURCE_DIR}/python/receiver
${CMAKE_SOURCE_DIR}/python/transmitter
${CMAKE_SOURCE_DIR}/python/trx
${CMAKE_BINARY_DIR}/swig
$ENV{PYTHONPATH}
)
${CMAKE_SOURCE_DIR}/python
${CMAKE_SOURCE_DIR}/python/misc_utils
${CMAKE_SOURCE_DIR}/python/demapping
${CMAKE_SOURCE_DIR}/python/receiver
${CMAKE_SOURCE_DIR}/python/transmitter
${CMAKE_SOURCE_DIR}/python/trx
${CMAKE_BINARY_DIR}/swig
$ENV{PYTHONPATH}
)
string(REPLACE ";" ":" PYTHONPATH "${PYTHONPATH}")

ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/grgsm_livemon
COMMAND "${CMAKE_COMMAND}"
-E env PYTHONPATH="${PYTHONPATH}" GRC_BLOCKS_PATH=${CMAKE_SOURCE_DIR}/grc
${PC_GNURADIO_RUNTIME_PREFIX}/${GR_RUNTIME_DIR}/grcc -d ${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/grgsm_livemon.grc
COMMAND "${CMAKE_COMMAND}" -E rename grgsm_livemon.py grgsm_livemon
DEPENDS grgsm_livemon.grc
)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/grgsm_livemon
COMMAND "${CMAKE_COMMAND}"
-E env PYTHONPATH="${PYTHONPATH}" GRC_BLOCKS_PATH=${CMAKE_SOURCE_DIR}/grc
${PC_GNURADIO_RUNTIME_PREFIX}/${GR_RUNTIME_DIR}/grcc -d ${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/grgsm_livemon.grc
COMMAND "${CMAKE_COMMAND}" -E rename grgsm_livemon.py grgsm_livemon
DEPENDS grgsm_livemon.grc
)
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/grgsm_livemon_headless
COMMAND "${CMAKE_COMMAND}"
-E env PYTHONPATH="${PYTHONPATH}" GRC_BLOCKS_PATH=${CMAKE_SOURCE_DIR}/grc
${PC_GNURADIO_RUNTIME_PREFIX}/${GR_RUNTIME_DIR}/grcc -d ${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/grgsm_livemon_headless.grc
COMMAND "${CMAKE_COMMAND}" -E rename grgsm_livemon_headless.py grgsm_livemon_headless
DEPENDS grgsm_livemon_headless.grc
)
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/grgsm_livemon_headless
COMMAND "${CMAKE_COMMAND}"
-E env PYTHONPATH="${PYTHONPATH}" GRC_BLOCKS_PATH=${CMAKE_SOURCE_DIR}/grc
${PC_GNURADIO_RUNTIME_PREFIX}/${GR_RUNTIME_DIR}/grcc -d ${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/grgsm_livemon_headless.grc
COMMAND "${CMAKE_COMMAND}" -E rename grgsm_livemon_headless.py grgsm_livemon_headless
DEPENDS grgsm_livemon_headless.grc
)

########################################################################
# Override the GR_UNIQUE_TARGET function to not append a hash
Expand All @@ -75,8 +75,8 @@ endfunction(GR_UNIQUE_TARGET)

GR_PYTHON_INSTALL(
PROGRAMS
${CMAKE_CURRENT_BINARY_DIR}/grgsm_livemon
${CMAKE_CURRENT_BINARY_DIR}/grgsm_livemon_headless
${CMAKE_CURRENT_BINARY_DIR}/grgsm_livemon
${CMAKE_CURRENT_BINARY_DIR}/grgsm_livemon_headless
grgsm_scanner
grgsm_decode
grgsm_trx
Expand Down

0 comments on commit c16b35c

Please sign in to comment.