Re: [CMake] Trouble with parallel builds for targets created by add_executable, target_link_libraries, and add_library

2009-09-30 Thread Marcel Loose
On Tue, 2009-09-29 at 19:46 -0400, Bill Hoffman wrote: Alan W. Irwin wrote: On 2009-09-29 16:36-0400 Bill Hoffman wrote: make -j N is only supported with the all target. How difficult would it be to implement parallel build support for more than just the all target? Note, if there

[CMake] Trouble with parallel builds for targets created by add_executable, target_link_libraries, and add_library

2009-09-29 Thread Alan W. Irwin
As part of the build of PLplot and for STRING_INDEX = 01, 02, ..., I have created test targets x01c, x02c, with add_executable(x${STRING_INDEX}c x${STRING_INDEX}c.c) target_link_libraries(x${STRING_INDEX}c plplot${LIB_TAG}) where LIB_TAG is d, and plplotd is a target created by add_library

Re: [CMake] Trouble with parallel builds for targets created by add_executable, target_link_libraries, and add_library

2009-09-29 Thread Bill Hoffman
Alan W. Irwin wrote: As part of the build of PLplot and for STRING_INDEX = 01, 02, ..., I have created test targets x01c, x02c, with add_executable(x${STRING_INDEX}c x${STRING_INDEX}c.c) target_link_libraries(x${STRING_INDEX}c plplot${LIB_TAG}) where LIB_TAG is d, and plplotd is a target

Re: [CMake] Trouble with parallel builds for targets created by add_executable, target_link_libraries, and add_library

2009-09-29 Thread Alan W. Irwin
On 2009-09-29 16:36-0400 Bill Hoffman wrote: make -j N is only supported with the all target. That is a major disappointment for me since I have already implemented a nice target-based (as opposed to ctest based) testing capability for PLplot with a lot of different tests with individual

Re: [CMake] Trouble with parallel builds for targets created by add_executable, target_link_libraries, and add_library

2009-09-29 Thread Bill Hoffman
Alan W. Irwin wrote: On 2009-09-29 16:36-0400 Bill Hoffman wrote: make -j N is only supported with the all target. How difficult would it be to implement parallel build support for more than just the all target? Note, if there is some limitation that makes it impractical or inefficient to

Re: [CMake] Trouble with parallel builds for targets created by add_executable, target_link_libraries, and add_library

2009-09-29 Thread Alan W. Irwin
On 2009-09-29 19:46-0400 Bill Hoffman wrote: Alan W. Irwin wrote: On 2009-09-29 16:36-0400 Bill Hoffman wrote: make -j N is only supported with the all target. How difficult would it be to implement parallel build support for more than just the all target? Note, if there is some limitation