│ └── lib
│ └── foo.so
│ └── dir
│ └── structure
│ └── bar.so
I don’t have much experience on writing CMakeLists. I have a project where I want to create a symlink bar.so that points to “package/lib/foo.so”, and this needs to be done in a different CMakeLists.txt from the one for the target foo.
- how to ensure the order? The foo.so has to be installed before symlink.
- how to create symlink? I think add_custom_target can help on this?