add_executable

範例:add_executable(executable_name main.cpp)

include_directories

範例:include_directories("/opt/MATLAB/R2012a/extern/include")

add_library

link_directories

範例:LINK_DIRECTORIES("/opt/MATLAB/R2012a/bin/glnxa64")

LINK_LIBRARIES

範例:LINK_LIBRARIES("/opt/MATLAB/R2012a/bin/glnxa64/libeng.so")

target_link_libraries

add_subdirectory