mirror of
https://github.com/zekexiao/pocketlang.git
synced 2025-02-06 04:37:47 +08:00
35 lines
1.5 KiB
C
35 lines
1.5 KiB
C
/*
|
|
* Copyright (c) 2020-2021 Thakee Nathees
|
|
* Distributed Under The MIT License
|
|
*/
|
|
|
|
// This file will include all source files from the cli sub-directories here
|
|
// (thirdparty/modules) into a single file. That'll make it easy to compile
|
|
// with the command `gcc cli/*.c ...` instead of having to add every single
|
|
// sub-directory to the list of source directory.
|
|
|
|
/*****************************************************************************/
|
|
/* 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.
|
|
#include "modules/thirdparty/cwalk/cwalk.c"
|
|
|
|
/*****************************************************************************/
|
|
/* CLI MODULES */
|
|
/*****************************************************************************/
|
|
|
|
#include "modules/path.c"
|
|
|
|
/*****************************************************************************/
|
|
/* MODULES REGISTER */
|
|
/*****************************************************************************/
|
|
|
|
void registerModules(PKVM* vm) {
|
|
registerModulePath(vm);
|
|
}
|