Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 915 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 915 Bytes

CMake GUI Here for Thunar

Install

  1. Add the following to ~/.config/Thunar/uca.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 &quot;-H$(echo %f)&quot; &quot;-B$(echo %f)/build&quot;</command>
        <description></description>
        <patterns>*</patterns>
        <startup-notify/>
        <directories/>
    </action>

Usage

  1. Right-click on the "background" of a directory containing a CMakeLists.txt file
  2. Choose CMake GUI Here

Uninstall

  1. Remove the added <action> node that contains CMake GUI Here from ~/.config/Thunar/uca.xml

Credit