Re: [CMake] How to hundle gcc link options(like whole-archive, --allow-multiple-definition) in CMake?

2016-05-31 Thread Chaos Zhang
The form like this, and this may not work, it just >> a >> e.g.), cmake seem don't built `lib1` any more. Is there any way i can use >> target_link_library like `target_link_library(exe1 "-Wl, --whole-archive >> ../sub_dir1/liblib1.a")` and cmake link dependency checking still work, &g

Re: [CMake] How to hundle gcc link options(like whole-archive, --allow-multiple-definition) in CMake?

2016-05-31 Thread Chuck Atkins
way i can transfer these gcc link options into cmake? > > Thanks a lot, > Chao > > > > -- > View this message in context: > http://cmake.3232098.n2.nabble.com/How-to-hundle-gcc-link-options-like-whole-archive-allow-multiple-definition-in-CMake-tp7593563.html > Sent from t

[CMake] How to hundle gcc link options(like whole-archive, --allow-multiple-definition) in CMake?

2016-05-30 Thread Chaos Zhang
cking still work, or other way i can transfer these gcc link options into cmake? Thanks a lot, Chao -- View this message in context: http://cmake.3232098.n2.nabble.com/How-to-hundle-gcc-link-options-like-whole-archive-allow-multiple-definition-in-CMake-tp7593563.html Sent from the CMake mail