You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmake: Disable SECP256K1_APPEND_*FLAGS options for VS generators
The "Visual Studio" generators create project files in a way that does
not use low-level rule variables. Consequently, setting
`SECP256K1_APPEND_*FLAGS` has no effect. Disabling these options ensures
that CMake warns the user if any of them are set.
set(SECP256K1_APPEND_CFLAGS ""CACHESTRING"Compiler flags that are appended to the command line after all other flags added by the build system. This variable is intended for debugging and special builds.")
284
-
if(SECP256K1_APPEND_CFLAGS)
285
-
# Appending to this low-level rule variable is the only way to
286
-
# guarantee that the flags appear at the end of the command line.
set(SECP256K1_APPEND_CFLAGS ""CACHESTRING"Compiler flags that are appended to the command line after all other flags added by the build system. This variable is intended for debugging and special builds.")
285
+
if(SECP256K1_APPEND_CFLAGS)
286
+
# Appending to this low-level rule variable is the only way to
287
+
# guarantee that the flags appear at the end of the command line.
set(SECP256K1_APPEND_LDFLAGS ""CACHESTRING"Linker flags that are appended to the command line after all other flags added by the build system. This variable is intended for debugging and special builds.")
291
-
if(SECP256K1_APPEND_LDFLAGS)
292
-
# Appending to this low-level rule variable is the only way to
293
-
# guarantee that the flags appear at the end of the command line.
set(SECP256K1_APPEND_LDFLAGS ""CACHESTRING"Linker flags that are appended to the command line after all other flags added by the build system. This variable is intended for debugging and special builds.")
292
+
if(SECP256K1_APPEND_LDFLAGS)
293
+
# Appending to this low-level rule variable is the only way to
294
+
# guarantee that the flags appear at the end of the command line.
0 commit comments