View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010784CMakeCMakepublic2010-06-01 09:562016-06-10 14:31
ReporterStefan Vogelsang 
Assigned ToBill Hoffman 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionmoved 
PlatformApple MacOSMac OSXOS Version10.6.3, 10.5.3
Product VersionCMake-2-8 
Target VersionFixed in Version 
Summary0010784: paramters from CMakeLists.txt ignored under Mac
DescriptionI setup some compile flags with ADD_DEFENITIONS(). These work fine under Windows and Linux while calling cmake <dir to project file>. Building our software for mac osx these defines are ignored, even setting up the CMAKE_VERBOSE_MAKEFILE is not possible but the source files are configured correctly?!?

I attached a small CMakeLists.txt as a test case, all source and build configurations are removed.

I tried Mac OS 10.6.3 and 10.5.8.
I also tested with cmake 2.8.0 and 2.8.1.
Steps To Reproduce1.) create dir
2.) copy CMakeLists.txt
3.) ccmake <project-file> or cmake-gui <project-file>
4.) check the given parameters against the values in the given project file
TagsNo tags attached.
Attached Filestxt file icon CMakeLists.txt [^] (139 bytes) 2010-06-01 09:56 [Show Content]
tgz file icon test2.tgz [^] (186,326 bytes) 2010-06-02 10:57

 Relationships

  Notes
(0020883)
Bill Hoffman (manager)
2010-06-01 11:58

The attached cmake file does not build anything? So, what do you expect it to show?
(0020898)
Stefan Vogelsang (reporter)
2010-06-02 10:57

yes i removed the build stuff...

I expect to see that CMAKE_VERBOSE_MAKEFILE is set to ON when I call cmake-gui on the CMakeLists.txt directory (turn on advanced view) which is off, also the custom build flag should be set. This seems to be a bug for its own.

I attached test2.tgz

- please extract
- cd <local place>/test2/generate
- call cmake ../TiCPP/TiCPP/projects/

since the verbose output is on and the flag -DTIXML_USE_STL is set
you should be able to observe that :

- there are a few verbose gcc calls on the commandline
- which include the -DTIXML_USE_STL within the c++ calls

both doesn't happen on my macs, while linux and windows work well
(0020944)
Stefan Vogelsang (reporter)
2010-06-08 04:38

did you manage to reproduce the problem?
(0041708)
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-06-01 09:56 Stefan Vogelsang New Issue
2010-06-01 09:56 Stefan Vogelsang File Added: CMakeLists.txt
2010-06-01 11:58 Bill Hoffman Note Added: 0020883
2010-06-01 11:58 Bill Hoffman Status new => assigned
2010-06-01 11:58 Bill Hoffman Assigned To => Bill Hoffman
2010-06-02 10:57 Stefan Vogelsang Note Added: 0020898
2010-06-02 10:57 Stefan Vogelsang File Added: test2.tgz
2010-06-08 04:38 Stefan Vogelsang Note Added: 0020944
2016-06-10 14:28 Kitware Robot Note Added: 0041708
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