Browse Source

wscript: install ntk-chtheme program.

tags/v1.3.1000
Jonathan Moore Liles 13 years ago
parent
commit
0d2f0617da
2 changed files with 13 additions and 5 deletions
  1. +5
    -5
      src/ntk-chtheme.cxx
  2. +8
    -0
      wscript

src/ntk-chtheme.C → src/ntk-chtheme.cxx View File

@@ -17,16 +17,16 @@
/* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/*******************************************************************************/

#include "FL/themes.H"
#include "FL/Fl_Theme_Chooser.C"
#include <FL/Fl.H>
#include <FL/themes.H>
#include <FL/Fl_Theme_Chooser.H>

int
main ( int argc, char **argv )
{
fl_register_themes();

Fl_Theme::set();

fl_theme_chooser();

return 0;
}

+ 8
- 0
wscript View File

@@ -499,6 +499,14 @@ src/Fl_Gl_Window.cxx
CFLAGS = ' '.join( CFLAGS ),
BUILD = os.getcwd() + '/' + out )

bld.program(
source = 'src/ntk-chtheme.cxx',
target = 'ntk-chtheme',
use = 'ntk',
includes = [ '.' ],
install_path = "${BINDIR}" )

# bld( features = 'subst',
# source = 'ntk-config.in',
# target = '../ntk-config',


Loading…
Cancel
Save