pocketlang/cli/all.c

35 lines
1.4 KiB
C
Raw Normal View History

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
// (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
// 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.
#include "thirdparty/cwalk/cwalk.c"
/*****************************************************************************/
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) {
registerModulePath(vm);
2021-05-29 02:53:46 +08:00
}