⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cmakelists.txt

📁 nandflash文件系统源代码
💻 TXT
字号:
# Take all the .cc files and build a library out of themfile (GLOB sources *.cc)## Build a static and a dynamically linked libraries.  Both libraries# should have the same root name, but installed in different places#add_library (kfsClient STATIC ${sources})add_library (kfsClient-shared SHARED ${sources})set_target_properties (kfsClient-shared PROPERTIES OUTPUT_NAME "kfsClient")## Since the objects have to be built twice, set this up so they don't# clobber each other.set_target_properties (kfsClient PROPERTIES CLEAN_DIRECT_OUTPUT 1)set_target_properties (kfsClient-shared PROPERTIES CLEAN_DIRECT_OUTPUT 1)add_dependencies (kfsClient kfsCommon kfsIO)# get everthing into onetarget_link_libraries (kfsClient kfsCommon kfsIO)target_link_libraries (kfsClient-shared kfsCommon-shared kfsIO-shared)#install (TARGETS kfsClient kfsClient-shared        LIBRARY DESTINATION lib        ARCHIVE DESTINATION lib/static)install (FILES KfsAttr.h KfsClient.h DESTINATION include/kfs)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -