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

submit hw01 #120

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

submit hw01 #120

wants to merge 1 commit into from

Conversation

mhqmhy
Copy link

@mhqmhy mhqmhy commented Jan 21, 2024

在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的时候可以在当前目录搜索<>

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