Specifying link flags for only one static lib while linking executable?

Has a method for that. SET (MYLIB -Wl,-whole-archive one particular lib -Wl,-no_whole-archive) .... TARGET_LINK_LIBRARIES(yourtarget ${normalstuff} ${MYLIB} ${othernormalstuff}) The CMake docs state: If a library name matches that of another target in the project a dependency will automatically be added in the build system to make sure the library being linked is up-to-date before the target links. Item names starting with '-', but not '-l' or '-framework', are treated as linker flags.

So the -Wl options should not interfere/be touched by CMake.

It helps! Thanks! – beduin Apr 17 at 12:58.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions