On Tue, 2010-09-28 at 18:57 +0200, Eric Noulard wrote:
> Hi All,
>
> I have project which (cross-)compile some simple C applications
> with some bare CMake statement like this:
>
> add_executable(myapp myapp.c)
>
> no target_link_libraries, no dep, etc...
>
> I want to build fully static execu
Hi All,
I have project which (cross-)compile some simple C applications
with some bare CMake statement like this:
add_executable(myapp myapp.c)
no target_link_libraries, no dep, etc...
I want to build fully static executable (even for libc etc...)
Currently I do:
set_target_properties(myapp P