View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011228CMakeCMakepublic2010-09-13 11:242016-06-10 14:31
ReporterDale Peterson 
Assigned ToBill Hoffman 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionFixed in Version 
Summary0011228: CMake does not generate Unix Makefiles compatible with mainline GNU Make on Cygwin
DescriptionI have a project setup for an out of source build. When using CMake to generate a Unix Makefile for my project, the makefiles contain windows paths in the dependency lines for the generated makefiles. This is no longer compatible with the version of GNU Make being compiled for cygwin.

It would be beneficial to change CMake to generate unix paths for the dependencies when generating the Unix Makefile under Cygwin.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0022213)
Bill Hoffman (manager)
2010-09-13 12:50

You have to use a cygwin built cmake to use the cygwin tool chain. The windows CMake can not be used to create files that work with the cygwin tools. The Unix Makefiles generator is useful for using gmake with MS cl.
(0022335)
Dale Peterson (reporter)
2010-09-23 11:28

That is the scenario we are trying to use. We would like to use CMake to generate makefiles which can be built using GNU Make to invoke the MS cl compiler. In order for this to work, windows paths need to be passed to the cl compiler, however the makefile shouldn't contain windows paths in the dependency statements as the mainline GNU make no longer allows that in the syntax.
(0022336)
Bill Hoffman (manager)
2010-09-23 11:44

Cygwin broke make for this. :)

I have a patched version that I use here:

http://www.cmake.org/files/cygwin/make.exe-cygwin1.7 [^]

Since CMake is a windows program there is no way it can generate cygwin style paths.

The patch for make was pushed into upstream gmake over a year ago, but was never picked up by the cygwin maintainers of gnu make.
(0041745)
Kitware Robot (administrator)
2016-06-10 14:28

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2010-09-13 11:24 Dale Peterson New Issue
2010-09-13 12:50 Bill Hoffman Note Added: 0022213
2010-09-13 12:50 Bill Hoffman Status new => assigned
2010-09-13 12:50 Bill Hoffman Assigned To => Bill Hoffman
2010-09-23 11:28 Dale Peterson Note Added: 0022335
2010-09-23 11:44 Bill Hoffman Note Added: 0022336
2016-06-10 14:28 Kitware Robot Note Added: 0041745
2016-06-10 14:28 Kitware Robot Status assigned => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team