https://github.com/citizen7751/qx
Make clickable shortcuts for system commands.
https://github.com/citizen7751/qx
command-line cpp os terminal
Last synced: 2 months ago
JSON representation
Make clickable shortcuts for system commands.
- Host: GitHub
- URL: https://github.com/citizen7751/qx
- Owner: Citizen7751
- License: gpl-3.0
- Created: 2024-07-09T19:17:46.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-15T14:53:34.000Z (over 1 year ago)
- Last Synced: 2025-02-15T15:33:47.144Z (over 1 year ago)
- Topics: command-line, cpp, os, terminal
- Language: C++
- Homepage:
- Size: 134 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**Announcement**
QX is going to go though huge changes in the future and will become completely different!\
It is planned to be rewritten in plain C and will have no colors - both for wider compatibility across operating systems, environments and compilers. It will also have the ability to both compile and directly interpret input files.\
Once the program is done and uploaded, I currently plan to remove the .cpp version.
---
# Quick Execution
It's a simple tool that turns system commands into clickable shortcuts and thus makes execution easier.
---
## Usage
When opened, the program will ask for the executable's name and its commands. After they are given, it will drop a C sourcefile and its compiled version, so it can be executed right away. The reason you get the sourcefile next to the executable is to be able to modify it later and recompile it.

Configurable parts in ```qx.cpp``` are ```def_qx_cc```, ```def_qx_ofile_flag``` and ```def_qx_make_flags```. If you want to change the C compiler it should use, or the flags, modify these. The default configuration is for GCC.
---
## Build
**Requirements:** [GCC](https://gcc.gnu.org/) or [Clang](https://clang.llvm.org/) (or any other C compiler)
### Building on Windows:
GCC: ```g++ -o qx.exe qx.cpp -s -O3```\
Clang:```clang++ -o qx.exe qx.cpp```
### Building on Linux:
GCC: ```g++ -o qx qx.cpp -s -O3```\
Clang:```clang++ -o qx qx.cpp```
### Note
If you don't have any standalone compilers installed but have Microsoft Visual Studio, you can copy-paste the sourcefile into a new C/C++ project and execute it that way. However, the program itself has to use a C compiler that can easily be treated independently from its IDE. That's why I recommend GCC and Clang.
---
## License
This software is under the GPLv3 License.