This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#该指令语法格式:add_library( 程序名 源代码文件 )
add_library( user user.cpp )
#生成的共享备份文件
add_library( user_shared SHARED user.cpp )
#正常对useHello.cpp文件进行编译
add_executable( useuser useuser.cpp )
#建立与库文件的链接(注意!添加的是库文件的名称,不是头文件的名称)
target_link_libraries( useuser user )