Created
January 3, 2015 21:40
-
-
Save Mm7/a1849d9b5ff02606e860 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
project(test) | |
cmake_minimum_required(VERSION 3.0) | |
include(CMakeForceCompiler) | |
set(CMAKE_SYSTEM_NAME Generic) | |
set(CMAKE_CROSSCOMPILING 1) | |
CMAKE_FORCE_C_COMPILER(arm-none-eabi-gcc GNU) | |
CMAKE_FORCE_CXX_COMPILER(arm-none-eabi-g++ GNU) | |
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) | |
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) | |
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) | |
add_executable(target test.cpp) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment