hw01
hw01 copied to clipboard
submit hw01
在stb_image_write.cpp中先defineSTB_IMAGE_WRITE_IMPLEMENTATION ,在#include"stb_iamge_write.h",相当于通过宏实现对函数的实现
在stbiw/CmakeLists.txt文件里,add_library(stbiw STATIC stb_image_write.cpp)#添加动态库
target_include_directories(stbiw PUBLIC .)#include的时候可以在当前目录搜索<>