<div dir="ltr">Hi there !<div><br></div><div style>I'm quite new to CMake, so please forgive me if the question seems obvious.</div><div style>My project has lines like :</div><div style><br></div><div style><div>link_directories(/path/to/libA/)</div>
<div>add_library(my_project SHARED my_file.cpp)</div><div>target_link_libraries(my_project A)</div><div><br></div><div style>I browsed help and googled a few, but I still wonder how I could set "/path/to/libA/" to be different according to targets.</div>
<div style>Something like "/path/to/libA/Foo/" for some targets "/path/to/libA/Bar/" for others.</div><div style>But my targets are not the basic "Release/Debug/..." ones, more diverse.</div>
<div style><br></div><div style>Info : I'm working with VS2008, but trying CMake for Mac/Linux/iOS ports.</div><div style><br></div><div style>Thanks</div><div style>Domé</div><div><br></div></div></div>