Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

finish hw01 #119

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

finish hw01 #119

wants to merge 1 commit into from

Conversation

Daydream0929
Copy link

No description provided.

@Daydream0929
Copy link
Author

步骤

  1. 添加一个stb_image_write.cpp文件
  2. 修改stbiw目录下的CMakeLists文件(静态or动态编译成stbiw库)
  3. 添加一个run.sh脚本执行cmake构建任务

疑问 (求解答)

  1. stb_image_write.h中既然已经实现了函数定义,为什么不直接使用.hpp后缀,反而要重新定义一个stb_image_write.cpp?
  2. 为什么要在stb_image_write.cpp中定义宏?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant