1
0
Fork 0

Do not produce an import library for exe target

Closes #3663
This commit is contained in:
Duncan Ogilvie 2025-07-24 23:32:54 +02:00
parent e9e3596e1d
commit 6cf7f60fff
2 changed files with 4 additions and 0 deletions

2
CMakeLists.txt generated
View File

@ -980,6 +980,8 @@ if(MSVC) # msvc
"/DELAYLOAD:user32.dll"
"/DELAYLOAD:wintrust.dll"
"/DELAYLOAD:$<TARGET_FILE_NAME:bridge>"
"/NOIMPLIB"
"/NOEXP"
)
endif()

View File

@ -236,6 +236,8 @@ msvc.link-options = [
"/DELAYLOAD:user32.dll",
"/DELAYLOAD:wintrust.dll",
"/DELAYLOAD:$<TARGET_FILE_NAME:bridge>",
"/NOIMPLIB",
"/NOEXP",
]
msvc.link-libraries = [
"Delayimp",