File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 1
1
/build /
2
2
/CMakeLists.txt.user
3
3
/doc /output
4
+ .vs /
5
+ CMakeSettings.json
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ if(NOT CMAKE_BUILD_TYPE)
8
8
set (CMAKE_BUILD_TYPE "Release" CACHE STRING "Build type" FORCE)
9
9
endif ()
10
10
if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
11
+ # OR ((${MSVC_VERSION} GREATER_EQUAL 1910) AND ("${CMAKE_GENERATOR}" STREQUAL "Ninja"))
11
12
set (CMAKE_INSTALL_PREFIX "${CMAKE_SOURCE_DIR} /build/install" CACHE PATH
12
13
"Where to put redistributable binaries" FORCE)
13
14
message (WARNING "CMAKE_INSTALL_PREFIX default initialized to ${CMAKE_INSTALL_PREFIX} " )
Original file line number Diff line number Diff line change
1
+ SET (CMAKE_SYSTEM_NAME Linux)
2
+ SET (CMAKE_SYSTEM_VERSION 1)
3
+ SET (CMAKE_C_COMPILER $ENV{PITOOLS} /arm-bcm2708/arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc)
4
+ SET (CMAKE_CXX_COMPILER $ENV{PITOOLS} /arm-bcm2708/arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc)
5
+ SET (CMAKE_FIND_ROOT_PATH $ENV{PITOOLS} /arm-bcm2708/arm-linux-gnueabihf/arm-linux-gnueabihf/sysroot/)
6
+ SET (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
7
+ SET (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
8
+ SET (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
9
+ add_definitions (-Wall)
You can’t perform that action at this time.
0 commit comments