@@ -368,8 +368,9 @@ static void print_mulle_configuration( void)
368368 " # mulle-configuration environment\n "
369369 " #\n "
370370 " # How to install:\n "
371- " # mulle-bootstrap settings -g -a embedded_repositories 'https://github.com/mulle-nat/mulle-configuration'\n "
372- " # mulle-bootstrap\n "
371+ " # mulle-bootstrap settings -g -a embedded_repositories '${MULLE_REPOSITORIES}/mulle-configuration;;${MULLE_CONFIGURATION_BRANCH:-release}'\n "
372+ " # mulle-bootstrap expansion -g MULLE_REPOSITORIES 'https://github.com/mulle-nat'\n "
373+ " # mulle-bootstrap\n "
373374 " \n "
374375 " set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/mulle-configuration)\n " );
375376
@@ -1216,8 +1217,8 @@ static void exporter( PBXProject *root,
12161217 printf ( " # Generated on %d -%d -%d %d :%02d :%02d by version %s of mulle-xcode-to-cmake\n " ,
12171218 tm->tm_year + 1900 , tm->tm_mon + 1 , tm->tm_mday , tm->tm_hour , tm->tm_min , tm->tm_sec ,
12181219 stringify ( CURRENT_PROJECT_VERSION));
1219- printf ( " # Commandline arguments :\n "
1220- " # %s \n\n " , [s UTF8String ]);
1220+ printf ( " # Command line :\n "
1221+ " # mulle-xcode-to-cmake %s \n\n " , [s UTF8String ]);
12211222 }
12221223 }
12231224
@@ -1243,8 +1244,16 @@ static void exporter( PBXProject *root,
12431244
12441245 if ( twoStageCMakeLists && cmd == Export)
12451246 {
1246- printf ( " \n # produce CMakeSourcesAndHeaders.txt with `mulle-xcode-to-cmake sexport`\n "
1247- " \n include( CMakeSourcesAndHeaders.txt)\n " );
1247+ printf ( " \n ##\n "
1248+ " ## Produce CMakeSourcesAndHeaders.txt with:\n " );
1249+ printf ( " ## mulle-xcode-to-cmake" );
1250+ rover = [targets objectEnumerator ];
1251+ while ( pbxtarget = [rover nextObject ])
1252+ printf ( " -t '%s '" , [[pbxtarget name ] UTF8String ]);
1253+ printf ( " sexport > CMakeSourcesAndHeaders.txt\n "
1254+ " ##\n "
1255+ " \n "
1256+ " include( CMakeSourcesAndHeaders.txt)\n " );
12481257 }
12491258 else
12501259 {
0 commit comments