https://github.com/daisydogs07/filesystem
The Linux File System in C++ for Linux/Windows
https://github.com/daisydogs07/filesystem
filesystem linux nodejs windows
Last synced: 5 months ago
JSON representation
The Linux File System in C++ for Linux/Windows
- Host: GitHub
- URL: https://github.com/daisydogs07/filesystem
- Owner: DaisyDogs07
- License: mit
- Created: 2024-09-27T08:03:41.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-12-08T06:44:55.000Z (over 1 year ago)
- Last Synced: 2025-05-07T05:12:00.064Z (about 1 year ago)
- Topics: filesystem, linux, nodejs, windows
- Language: C++
- Homepage: https://www.npmjs.com/package/@daisydogs07/filesystem
- Size: 333 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# The Linux File System in C++ for Linux/Windows
## Library Install
### Windows
You must have Visual Studio 2022 with the "Desktop Development with C++" component installed.
Once it is installed,
Open "x64 Native Tools Command Prompt for VS 2022",
And run the following command:
```
cl /O2 /std:c++17 /LD /Zi FileSystem.cc
```
This will make `FileSystem.dll` and `FileSystem.lib` for you to use with your applications.
It will also make `FileSystem.pdb` for debugging the library.
If you wish to leave out debug info, Remove the `/Zi` flag.
### Linux
You must have any compiler installed. For this example, I'll assume you have `g++` installed.
Once you have installed the compiler, Run the following command:
```
g++ -O2 -g -fPIC -shared -o FileSystem.so FileSystem.cc
```
This will make `FileSystem.so` for you to use with your applications.
If you wish to leave out debug info, Remove the `-g` flag.
## Node.js Install
You must follow the [Library Install](#library-install) steps first
before installing the Node.js Module.
Once you have completed the [Library Install](#library-install),
Simply run the following command:
```
npm i
```