[Cmake] Issues and new ideas

Bill Hoffman bill.hoffman at kitware.com
Thu May 10 12:15:45 EDT 2001


Some issues came up in a recent phone call.   I am posting them
to this list for comment.


1. MFC programs require different dsp files.

A new variable will be used to determine what directory should be used
for the dsp template files.

# set for this directory only
SET(MSPROJECT_TEMPLATE_DIRECTORY path)
# set for all directories
SET(MSPROJECT_TEMPLATE_DIRECTORY path CACHE)

The dsp generator will be changed to use that variable to find its template files.

2. A third state will be added as a possible cache value.
NOTFOUND, IGNORE, or VALUE.
A right click menu item will be added to IGNORE the cache entry.
This is so, a FIND_LIBRARY command can be silenced if it finds the library,
but you really do not want to use the library anyway.

3. Central directory for libraries.   I think this should be
done much like 1. We should create a variable that is used by the generators,
LIBRARY_OUTPUT_DIRECTORY, it can be either global or local to a makefile.

4. Ian will document the cache file.

5. Source Forge.  There is a strange problem with cvs and .doc files.
The solution is to add -z3 to all your cvs commands.  
For several reasons, we do not want to 
move cmake to source forge at this point in time.   


Open issues:

1. FIND_OPENGL   should this set variables that have to be used, or should it
do the LINK_LIBRARY command.   The question is really should the Modules be

2. How should .h and .txx files be added to Microsoft projects for class browsing?
It could be automatic, (search for .h or .txx in the source_files command.)

3. Should a add *.cxx source file command be added.

-Bill






More information about the CMake mailing list