hw01 icon indicating copy to clipboard operation
hw01 copied to clipboard

my frist parallel101 homework

Open MIracleyin opened this issue 4 years ago • 0 comments

这是我第一次提交 parallel 101 回家作业,作业内容如下:

  1. 为 stb_image_write.h 创建对应的 .cpp 文件,该 .cpp 文件首先按照 .h 文件中要求的添加一个宏定义,在此包含 .h 文件;
  2. 在 stbiw 的 CMakeLists.txt 内,按照添加库的方式,作为子模块引入,首先 add_library 添加需要编译的 .cpp 库,接着 target_include_directories 声明这个库在当前位置公开;
  3. 正常编译 main.cpp 即可。

MIracleyin avatar Dec 17 '21 12:12 MIracleyin