2021-05-29 02:53:46 +08:00
|
|
|
/*
|
2021-06-09 18:42:26 +08:00
|
|
|
* Copyright (c) 2020-2021 Thakee Nathees
|
|
|
|
* Distributed Under The MIT License
|
2021-05-29 02:53:46 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
// This file will include all source files from the cli sub-directories here
|
2021-06-03 04:44:01 +08:00
|
|
|
// (thirdparty/modules) into a single file. That'll make it easy to compile
|
2021-06-09 18:42:26 +08:00
|
|
|
// with the command `gcc cli/*.c ...` instead of having to add every single
|
2021-06-10 10:23:16 +08:00
|
|
|
// sub-directory to the list of source directory.
|
2021-05-29 02:53:46 +08:00
|
|
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
/* THIRD PARTY */
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
|
|
|
// Library : cwalk
|
|
|
|
// Source : https://github.com/likle/cwalk
|
|
|
|
// Doc : https://likle.github.io/cwalk/
|
|
|
|
// About : Path library for C/C++. Cross-Platform for Windows, MacOS and
|
|
|
|
// Linux. Supports UNIX and Windows path styles on those platforms.
|
2021-06-20 18:23:21 +08:00
|
|
|
#include "modules/thirdparty/cwalk/cwalk.c"
|
2021-05-29 02:53:46 +08:00
|
|
|
|
|
|
|
/*****************************************************************************/
|
2021-06-09 18:42:26 +08:00
|
|
|
/* CLI MODULES */
|
2021-05-29 02:53:46 +08:00
|
|
|
/*****************************************************************************/
|
|
|
|
|
|
|
|
#include "modules/path.c"
|
|
|
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
/* MODULES REGISTER */
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
|
|
|
void registerModules(PKVM* vm) {
|
2021-06-02 20:14:17 +08:00
|
|
|
registerModulePath(vm);
|
2021-05-29 02:53:46 +08:00
|
|
|
}
|