Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

submit hw01#120

Open
mhqmhy wants to merge 1 commit into
parallel101:main from
mhqmhy:main
Open

submit hw01 #120
mhqmhy wants to merge 1 commit into
parallel101:main from
mhqmhy:main

Conversation

@mhqmhy

@mhqmhy mhqmhy commented Jan 21, 2024

Copy link
Copy Markdown

在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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /