![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /usr/share/emscripten/tests/freealut/admin/CMakeModules/ |
Upload File : |
# config.h magic SET(CONFIG_H_VALS_OLD "${CONFIG_H_VALS}") SET(CONFIG_H_VALS "" CACHE INTERNAL "") SET(CONFIG_H_FILE ${CMAKE_BINARY_DIR}/config.h) INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR}) MACRO(ADD_DEFINE ARG) SET(CONFIG_H_CONTENT "${CONFIG_H_CONTENT}#define ${ARG} ") # can't cache mulitline values SET(CONFIG_H_VALS "${CONFIG_H_VALS}${ARG}" CACHE INTERNAL "") ENDMACRO(ADD_DEFINE ARG) MACRO(GENERATE_CONFIG_H) # Generate config.h only if values differ IF(NOT CONFIG_H_VALS_OLD STREQUAL CONFIG_H_VALS OR NOT EXISTS ${CONFIG_H_FILE}) MESSAGE(STATUS "Writing config.h") FILE(WRITE ${CONFIG_H_FILE} "${CONFIG_H_CONTENT}") ENDIF(NOT CONFIG_H_VALS_OLD STREQUAL CONFIG_H_VALS OR NOT EXISTS ${CONFIG_H_FILE}) ENDMACRO(GENERATE_CONFIG_H)