forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Description
Lines 168 to 174 in 4778d28
set(APPEND_CPPFLAGS "" CACHE STRING "Preprocessor flags that are appended to the flags added by the build system.") | |
set(APPEND_CFLAGS "" CACHE STRING "C compiler flags that are appended to the flags added by the build system.") | |
set(APPEND_CXXFLAGS "" CACHE STRING "(Objective) C++ compiler flags that are appended to the flags added by the build system.") | |
set(APPEND_LDFLAGS "" CACHE STRING "Linker flags that are appended to the flags added by the build system.") | |
string(APPEND CMAKE_CXX_COMPILE_OBJECT " ${APPEND_CPPFLAGS} ${APPEND_CXXFLAGS}") | |
string(APPEND CMAKE_CXX_CREATE_SHARED_LIBRARY " ${APPEND_LDFLAGS}") | |
string(APPEND CMAKE_CXX_LINK_EXECUTABLE " ${APPEND_LDFLAGS}") |
(added in 84b83b3)
https://cmake.org/pipermail/cmake/2011-September/046090.html says that we are not supposed to set rule variables such as CMAKE_CXX_COMPILE_OBJECT
, or, if we really need to, set use CMAKE_USER_MAKE_RULES_OVERRIDE.
Is this code block supposed to achieve the same as our SECP256K1_LATE_CFLAGS
(implemented by a user-defined function all_targets_add_compile_options
) in libsecp256k1?
Metadata
Metadata
Assignees
Labels
No labels