2005-09-24 01:47:46 +04:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
Program: Insight Segmentation & Registration Toolkit
|
|
|
|
Module: $RCSfile$
|
|
|
|
Language: C++
|
|
|
|
Date: $Date$
|
|
|
|
Version: $Revision$
|
|
|
|
|
|
|
|
Copyright (c) 2002 Insight Consortium. All rights reserved.
|
|
|
|
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
|
|
|
|
|
|
|
|
This software is distributed WITHOUT ANY WARRANTY; without even
|
|
|
|
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
PURPOSE. See the above copyright notices for more information.
|
|
|
|
|
|
|
|
=========================================================================*/
|
|
|
|
|
|
|
|
#include "CMakeSetupGUIImplementation.h"
|
|
|
|
#include "FL/Fl.H"
|
|
|
|
#include "FL/fl_ask.H"
|
|
|
|
|
2007-12-14 01:56:50 +03:00
|
|
|
#include "cmSystemTools.h"
|
|
|
|
|
2005-09-24 01:47:46 +04:00
|
|
|
int main(int argc, char * argv[] )
|
|
|
|
{
|
2007-12-14 01:56:50 +03:00
|
|
|
cmSystemTools::FindExecutableDirectory(argv[0]);
|
2005-09-24 01:47:46 +04:00
|
|
|
|
|
|
|
fl_message_font(FL_HELVETICA,11);
|
|
|
|
|
|
|
|
CMakeSetupGUIImplementation * gui
|
|
|
|
= new CMakeSetupGUIImplementation;
|
|
|
|
|
|
|
|
gui->SetPathToExecutable( argv[0] );
|
|
|
|
gui->Show();
|
|
|
|
gui->LoadRecentDirectories();
|
|
|
|
gui->LoadCacheFromDiskToGUI();
|
|
|
|
|
|
|
|
Fl::run();
|
|
|
|
|
|
|
|
delete gui;
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
|
|
|
|
}
|