-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# CMake GUI Here for Nemo | ||
|
||
## Install | ||
|
||
1. Add the following to `~/.config/Thunar/uca.xml` | ||
|
||
```xml | ||
<action> | ||
<icon></icon> | ||
<name>CMake GUI Here</name> | ||
<!-- You might need to change this value --> | ||
<unique-id>1537910568312016-8</unique-id> | ||
<!-- Replace 'cmake-gui' with the path to cmake-gui if necessary --> | ||
<command>cmake-gui "-H$(echo %f)" "-B$(echo %f)/build"</command> | ||
<description></description> | ||
<patterns>*</patterns> | ||
<startup-notify/> | ||
<directories/> | ||
</action> | ||
``` | ||
|
||
## Usage | ||
|
||
1. Right-click on the "background" of a directory containing a `CMakeLists.txt` file | ||
1. Choose `CMake GUI Here` | ||
|
||
## Uninstall | ||
|
||
1. Remove the added `<action>` node that contains `CMake GUI Here` from `~/.config/Thunar/uca.xml` | ||
|
||
## Credit | ||
|
||
* https://classicforum.manjaro.org/index.php?topic=17759.0 |