Browse Source

move cmake to lib/

Signed-off-by: surenyi <surenyi82@qq.com>
master
surenyi 3 years ago
parent
commit
0dd797cea4
  1. 4
      CMakeLists.txt
  2. 0
      lib/cmake/c6400-toolchain.cmake
  3. 0
      lib/cmake/find_compiler.cmake

4
CMakeLists.txt

@ -4,10 +4,10 @@ if (NOT DEFINED CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release")
endif()
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/cmake)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/lib/cmake)
if (NOT DEFINED CMAKE_TOOLCHAIN_FILE)
set(CMAKE_TOOLCHAIN_FILE ${CMAKE_CURRENT_LIST_DIR}/cmake/c6400-toolchain.cmake)
set(CMAKE_TOOLCHAIN_FILE ${CMAKE_CURRENT_LIST_DIR}/lib/cmake/c6400-toolchain.cmake)
endif()
project(c6416_sdk C ASM)

0
cmake/c6400-toolchain.cmake → lib/cmake/c6400-toolchain.cmake

0
cmake/find_compiler.cmake → lib/cmake/find_compiler.cmake

Loading…
Cancel
Save