MantisBT - CMake
View Issue Details
0014263CMakeCMakepublic2013-07-03 08:212013-12-02 08:51
ycollet 
 
normalminoralways
closedunable to reproduce 
x86Windows7 46 bits
CMake 2.8.11 
 
0014263: The relative position of the parameters in ExternalProject_Add is important
The relative position of the parameters in ExternalProject_Add is important.
For example, the "BUILD_IN_SOURCE 1" options must be after "BUILD_COMMAND ..." but not before.

This requirement should be relaxed or a better error message should be displayed.
No tags attached.
related to 0014266closed Brad King cmake configure step in ExternalProject_Add makes Visual studio stops 
Issue History
2013-07-03 08:21ycolletNew Issue
2013-07-03 14:47Rolf Eike BeerNote Added: 0033470
2013-07-03 16:44Brad KingNote Added: 0033475
2013-07-03 16:55Brad KingRelationship addedrelated to 0014266
2013-07-05 02:35ycolletNote Added: 0033486
2013-07-05 02:36ycolletNote Added: 0033487
2013-07-05 04:26Rolf Eike BeerNote Added: 0033489
2013-07-05 04:26Rolf Eike BeerStatusnew => resolved
2013-07-05 04:26Rolf Eike BeerResolutionopen => unable to reproduce
2013-12-02 08:51Robert MaynardNote Added: 0034633
2013-12-02 08:51Robert MaynardStatusresolved => closed

Notes
(0033470)
Rolf Eike Beer   
2013-07-03 14:47   
Maybe ExternalProject should be ported to use CMAKE_PARSE_ARGUMENTS()?
(0033475)
Brad King   
2013-07-03 16:44   
Re 0014263:0033470: No, the existing _ep_parse_arguments works in a way cmake_parse_arguments doesn't support.

ExternalProject_Add creates the custom target, then processes the arguments and stores them in target properties, then inspects the properties to decide what to do. Therefore it is declarative and the order should not matter.

@ycollet, please provide a sample invocation of each order and explain how they behave differently, why one way is wrong, and what error messages you do or do not get.
(0033486)
ycollet   
2013-07-05 02:35   
Sorry, but I am not able anymore to reproduce this problem.
I close this bug and will reopen it if I am able to reproduce the problem.

Best regards,

YC
(0033487)
ycollet   
2013-07-05 02:36   
I don't think I am authorized to close the bug. Am I right ?

YC
(0033489)
Rolf Eike Beer   
2013-07-05 04:26   
Closed on reporters request.
(0034633)
Robert Maynard   
2013-12-02 08:51   
Closing resolved issues that have not been updated in more than 4 months.