Browse Source

cmake: removed config_ prefix

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
sbg
Mark Charlebois 10 years ago
parent
commit
98897960e1
  1. 8
      CMakeLists.txt
  2. 0
      cmake/configs/nuttx_px4fmu-v2_default.cmake
  3. 0
      cmake/configs/nuttx_px4fmu-v2_simple.cmake
  4. 0
      cmake/configs/nuttx_sim_simple.cmake
  5. 0
      cmake/configs/posix_eagle_default.cmake
  6. 0
      cmake/configs/posix_eagle_hil.cmake
  7. 0
      cmake/configs/posix_eagle_muorb.cmake
  8. 0
      cmake/configs/posix_eagle_release.cmake
  9. 0
      cmake/configs/posix_sitl_simple.cmake
  10. 0
      cmake/configs/qurt_eagle_hello.cmake
  11. 0
      cmake/configs/qurt_eagle_hil.cmake
  12. 0
      cmake/configs/qurt_eagle_muorb.cmake

8
CMakeLists.txt

@ -112,16 +112,16 @@ set(package-contact "px4users@googlegroups.com") @@ -112,16 +112,16 @@ set(package-contact "px4users@googlegroups.com")
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
#=============================================================================
# cmake modules
# Validate build configuration and build
#
if (NOT NESTED_CMAKE_CALL)
message(STATUS "IN TOP")
if (EXISTS ${CMAKE_SOURCE_DIR}/cmake/configs/config_${CONFIG}.cmake)
if (EXISTS ${CMAKE_SOURCE_DIR}/cmake/configs/${CONFIG}.cmake)
# Get the toolchain information
include(configs/config_${CONFIG})
include(configs/${CONFIG})
else()
message(FATAL_ERROR "build config not found: config_${CONFIG}.cmake")
message(FATAL_ERROR "build config not found: ${CONFIG}.cmake")
endif()
if (NOT "${USE_TOOLCHAIN}" STREQUAL "")
set(TOOLCHAIN -DCMAKE_TOOLCHAIN_FILE=${CMAKE_SOURCE_DIR}/cmake/toolchains/${USE_TOOLCHAIN}.cmake)

0
cmake/configs/config_nuttx_px4fmu-v2_default.cmake → cmake/configs/nuttx_px4fmu-v2_default.cmake

0
cmake/configs/config_nuttx_px4fmu-v2_simple.cmake → cmake/configs/nuttx_px4fmu-v2_simple.cmake

0
cmake/configs/config_nuttx_sim_simple.cmake → cmake/configs/nuttx_sim_simple.cmake

0
cmake/configs/config_posix_eagle_default.cmake → cmake/configs/posix_eagle_default.cmake

0
cmake/configs/config_posix_eagle_hil.cmake → cmake/configs/posix_eagle_hil.cmake

0
cmake/configs/config_posix_eagle_muorb.cmake → cmake/configs/posix_eagle_muorb.cmake

0
cmake/configs/config_posix_eagle_release.cmake → cmake/configs/posix_eagle_release.cmake

0
cmake/configs/config_posix_sitl_simple.cmake → cmake/configs/posix_sitl_simple.cmake

0
cmake/configs/config_qurt_eagle_hello.cmake → cmake/configs/qurt_eagle_hello.cmake

0
cmake/configs/config_qurt_eagle_hil.cmake → cmake/configs/qurt_eagle_hil.cmake

0
cmake/configs/config_qurt_eagle_muorb.cmake → cmake/configs/qurt_eagle_muorb.cmake

Loading…
Cancel
Save