CMakeLists for each C file

This commit is contained in:
2021-12-07 07:28:47 -08:00
parent f333cc47fa
commit c75bce4d93
32 changed files with 321 additions and 38 deletions

View File

@ -18,9 +18,13 @@
#include <windows.h>
#define getcwd _getcwd
#define FILE_PATH_SEP '\\'
#define fileMkdir(path, perms) _mkdir(path)
#elif defined(__GNUC__)
#include <unistd.h>
#include <dirent.h>
#include <sys/stat.h>
#define FILE_PATH_SEP '/'
#define fileMkdir(path, perms) mkdir(path, perms)
#endif
void fileNormalizeSlashes(char *string);