@LecrisUT
It may be my silly misunderstanding, but cmake build with the following commands
cmake -S . -B build -D CMAKE_BUILD_TYPE=Debug
cmake --build build
shows the following messages.
/Users/kshinohara/ghq/github.com/lan496/spglib/src/debug.h:49:20: warning: inline function 'warning_memory' is not defined [-Wundefined-inline]
extern inline void warning_memory(char const* what);
^
/Users/kshinohara/ghq/github.com/lan496/spglib/src/kpoint.c:124:9: note: used here
warning_memory("dense_ir_mapping_table");
^
1 warning generated.
I thought CMAKE_BUILD_TYPE=Debug set SPGLIB_DEBUG, and it included the debug functions.
How to compile with the debug functions?
@LecrisUT
It may be my silly misunderstanding, but cmake build with the following commands
cmake -S . -B build -D CMAKE_BUILD_TYPE=Debug cmake --build buildshows the following messages.
I thought
CMAKE_BUILD_TYPE=DebugsetSPGLIB_DEBUG, and it included the debug functions.How to compile with the debug functions?