[CMake] Convince Cmake to use a compile rule without having a LIBRARY or EXECUTABLE target

Brandon J. Van Every bvanevery at gmail.com
Fri Apr 13 13:51:53 EDT 2007


http://www.cmake.org/Wiki/CMake_Useful_Variables has variables for 
putting executable and library files in a common directory, but I don't 
see anything for object files.  Do you actually need object files in a 
common directory?  Why?

Cheers,
Brandon Van Every


d.1234567890 wrote:
> In our (relatively large) project, we sometimes "just" want to compile (check for syntax) a part (typically one directory) of the complete project. This very often saves a lot of time just to figure out that a small error fails the complete project to rebuild. Another option I hat tried, was to create several (library) targets that would be used to build the individual source directories but this failed because I did not find a way to convince CMake to put all objects (I've also ask on this list for help on this) in the main target build directory.
>
> Thank you,
> Dieter
>
> Original Message -----------------------
> dieter oberkofler wrote:
>   
>> Is is somehow possible to convince CMake to compile (use the build-in c/c++
>> compile rules and no explicit custom command) without having specified a
>> LIBRARY or EXECUTABLE to be build?
>>     
>
> What would you be trying to compile?
>
>
> Cheers,
> Brandon Van Every
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070413/705ae6d6/attachment.html


More information about the CMake mailing list