MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015346 | CMake | CMake | public | 2015-01-13 05:41 | 2015-06-01 08:38 |
Reporter | Daniele E. Domenichelli | ||||
Assigned To | Ben Boeckel | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | CMake 3.1 | ||||
Target Version | CMake 3.1.1 | Fixed in Version | CMake 3.1.1 | ||
Summary | 0015346: Xcode generator default target is no longer "ALL_BUILD" | ||||
Description | Since CMake 3.1, the order of the targets is changed and therefore the default target for Xcode generator is no longer "ALL_BUILD" if there is at least one install command. Also some other custom targets were moved to the top of the list. | ||||
Steps To Reproduce | Using this small project: cmake_minimum_required(VERSION 2.8.9) project(FOO) install(CODE "message(FATAL_ERROR \"This fatal error should not happen\")") - CMake 3.0.2 * "xcodebuild -list" prints Targets: ALL_BUILD ZERO_CHECK install * "xcodebuild" executes the "ALL_BUILD" target * "cmake --build ." executes the "ALL_BUILD" target - CMake 3.1 * "xcodebuild -list" prints Targets: install ALL_BUILD ZERO_CHECK * "xcodebuild" executes the "install" target (and fails) * "cmake --build ." executes the "ALL_BUILD" target Building the project with "cmake --build ." still works because it calls the correct target, but "xcodebuild" fails because the "install" target is called instead of the "ALL_BUILD" one. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2015-01-13 05:41 | Daniele E. Domenichelli | New Issue | |||
2015-01-13 08:44 | Brad King | Note Added: 0037675 | |||
2015-01-13 08:44 | Brad King | Target Version | => CMake 3.1.1 | ||
2015-01-13 13:54 | Daniele E. Domenichelli | Note Added: 0037677 | |||
2015-01-13 16:20 | Brad King | Assigned To | => Ben Boeckel | ||
2015-01-13 16:20 | Brad King | Status | new => assigned | ||
2015-01-13 16:21 | Brad King | Note Added: 0037680 | |||
2015-01-16 16:46 | Ben Boeckel | Note Added: 0037721 | |||
2015-01-16 17:41 | Ben Boeckel | Note Added: 0037725 | |||
2015-01-19 08:41 | Brad King | Note Added: 0037734 | |||
2015-01-19 09:23 | Brad King | Note Added: 0037735 | |||
2015-01-19 09:23 | Brad King | Status | assigned => resolved | ||
2015-01-19 09:23 | Brad King | Resolution | open => fixed | ||
2015-01-19 09:23 | Brad King | Fixed in Version | => CMake 3.1.1 | ||
2015-06-01 08:38 | Robert Maynard | Note Added: 0038855 | |||
2015-06-01 08:38 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|