[cmake-developers] Peculiar issue for "NMake Makefiles JOM"

Alan W. Irwin irwin at beluga.phys.uvic.ca
Tue Jun 18 12:47:31 EDT 2013


On 2013-06-18 07:12-0400 Bill Hoffman wrote:

> Try it  without the --debug-trycompile, that might mess things up.

Good call.  That made a big difference.  Here is the "cmake.out" result from

bash.exe-3.1$ cmake -G"NMake Makefiles JOM" -DCMAKE_C_COMPILER=gcc ..
>& cmake.out

CMake Warning at CMakeLists.txt:1 (project):
   To use the JOM generator, cmake must be run from a shell that can use the
   compiler cl from the command line.  This environment does not contain
   INCLUDE, LIB, or LIBPATH, and these must be set for the cl compiler to
   work.


-- The C compiler identification is GNU 4.7.2
-- Check for working C compiler: z:/home/wine/newstart/MinGW-4.7.2/bin/gcc.exe
CMake Warning at CMakeLists.txt:2 (PROJECT):
   To use the JOM generator, cmake must be run from a shell that can use the
   compiler cl from the command line.  This environment does not contain
   INCLUDE, LIB, or LIBPATH, and these must be set for the cl compiler to
   work.


-- Check for working C compiler: z:/home/wine/newstart/MinGW-4.7.2/bin/gcc.exe -- works
-- Detecting C compiler ABI info
CMake Warning at CMakeLists.txt:2 (PROJECT):
   To use the JOM generator, cmake must be run from a shell that can use the
   compiler cl from the command line.  This environment does not contain
   INCLUDE, LIB, or LIBPATH, and these must be set for the cl compiler to
   work.


-- Detecting C compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: Z:/home/wine/newstart/test_jom/build_dir

So it got through without errors, but with those warnings.  So I think
this means all is well with my tool chain/Wine platform, but there are
some (hopefully small) issues to sort out with the "NMake Makefiles
JOM" generator to make it compatible with the MinGW compiler suite.

I have attached the build tree created from scratch from the
above cmake command.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build_dir_withoutRC_without_debug_trycompile.tar.gz
Type: application/octet-stream
Size: 19957 bytes
Desc: no RC, without --debug-trycompile
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20130618/674fc1f7/attachment-0002.obj>


More information about the cmake-developers mailing list