Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. # this one is important
  2. SET(CMAKE_SYSTEM_NAME Linux)
  3. #this one not so much
  4. SET(CMAKE_SYSTEM_VERSION 1)
  5. # specify the cross compiler
  6. SET(CMAKE_C_COMPILER /usr/local/arm/4.3.2/bin/arm-linux-gcc)
  7. SET(CMAKE_CXX_COMPILER /usr/local/arm/4.3.2/bin/arm-linux-g++)
  8. # where is the target environment
  9. #SET(CMAKE_FIND_ROOT_PATH /opt/eldk-2007-01-19/ppc_74xx /home/alex/eldk-ppc74xx-inst)
  10. SET(CMAKE_FIND_ROOT_PATH /usr/local/arm/4.3.2 /usr/include/mysql )
  11. # search for programs in the build host directories
  12. SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
  13. # for libraries and headers in the target directories
  14. SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
  15. SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement