GreatSQL/GreatSQL
cmake/prepend_append_cflags_if_supported.cmake
:24
check_c_compiler_flag (${flag} HAVE_C_${temp_flag})
check_c_compiler_flag (${flag} HAVE_C_${temp_flag})
check_c_compiler_flag (${flag} HAVE_C_${temp_flag})
check_c_compiler_flag (${flag} HAVE_C_${temp_flag})
check_c_compiler_flag (${flag} HAVE_C_${temp_flag})
check_c_compiler_flag (${flag} HAVE_C_${temp_flag})
check_c_compiler_flag (${flag} HAVE_C_${temp_flag})
ADD_DEFINITIONS(-DHAVE_CG)
check_c_compiler_flag("${flag}" HAVE_C_${flagname})
check_c_compiler_flag(${flag} HAVE_C_${flag})
check_c_compiler_flag(${flag} HAVE_C_${temp_flag})
check_c_compiler_flag(${flag} HAVE_C_${temp_flag})
check_c_compiler_flag("${flag}" HAVE_C_${flagname})
check_c_compiler_flag(${flag} HAVE_C_${flag})
option(HAVE_C3 "Build the Compressed Continuous Computation package." OFF)
target_compile_definitions(runtime_module PRIVATE "HAVE_CK")
check_c_source_compiles(
"
typedef int foo_t;
static inline foo_t static_foo () {return 0;}
foo_t foo () {return 0;}
int main (int argc, char *argv[]) {return 0;}
"
HAVE_C_${KEYWORD})
endif (HAVE_C_${KEYWORD})
check_c_source_compiles("
int main(int argc, char *argv[]) { return (0); }
" HAVE_CC)
check_c_compiler_flag (${flag} HAVE_C_${temp_flag})
check_c_compiler_flag (${flag} HAVE_C_${temp_flag})