[Cmake] Drag & Drop support

Miller, James V (Research) millerjv at crd.ge.com
Mon Jul 22 08:17:55 EDT 2002


Does it make sense that when a directory name or file name are dropped on 
the shortcut that CMakeSetup checks whether this is already configured to be
a build directory (and then reads the CMakeCache.txt to find the source tree).

I would like this behavior better then blindly assigning the source and build dirs 
to the directory dropped.



-----Original Message-----
From: Sebastien BARRE [mailto:sebastien.barre at kitware.com]
Sent: Sunday, July 21, 2002 4:01 PM
To: cmake at public.kitware.com
Subject: [Cmake] Drag & Drop support


Hi

We noticed during recent VTK courses that some of our users are trying to 
drag&drop CMakeLists.txt file to the CMakeSetup shortcut on the desktop.

This actually opens CMakeSetup, but does not set any directory.

I've just added Drag & Drop support to CMakeSetup (filenames only).

CMakeSetup will accept:
   - a directory name (source and build dirs are set to this name),
   - a file name (source and build dirs are set to this file's directory),
   - a CMakeCache.txt file (the build dir is set to this cache's directory, 
the source dir is set to the value found in the cache)

You can drag&drop these files either on the CMakeSetup window, or on its 
shortcut on the desktop.

Seb

--
Sebastien Barre

_______________________________________________
Cmake mailing list
Cmake at public.kitware.com
http://public.kitware.com/mailman/listinfo/cmake



More information about the CMake mailing list