StupidBeauty
Read times:609Posted at:Mon Jan 28 19:00:47 2013
- no title specified

转载 Cmake的介绍和使用 Cmake实践

Cmake脚本中输出变量的内容这样写: message (status "pthreads_include_dirs:" ${PTHREADS_INCLUDE_DIRS} ),其中的 ${PTHREADS_INCLUDE_DIRS} 就引用了变量内容

http://www.cppblog.com/Roger/archive/2011/11/17/160368.html

亮点

向该文件中加入以下几行(稍后会做解释)

PROJECT (HELLO)

SET(SRC_LIST main.cpp)

MESSAGE(STATUS "This is BINARY dir " ${HELLO_BINARY_DIR})

MESSAGE(STATUS "This is SOURCE dir "${HELLO_SOURCE_DIR})

ADD_EXECUTABLE(hello ${SRC_LIST})

无名美女

Your opinions
Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands