<html><head></head><body style="font-family: times new roman,new york,times,serif; font-size: 12pt;">hi everyone,<br><br>I have been trying to use cmake to build ctsim(need to add my own code to it later) and finally managed to do it however I have difficulty understanding why my puny solution works!<br><br>I have 3 different directories (a,b,c) in ctsim , so I set up cmake files in each one and built liba.so and so on,<br><br>now I am trying to build the executable cstim by linking to the above three libraries and I kept getting an error, regarding an overloading function in directory a,<br><br>I thought that using TARGET_LINK_LIBRARIES(target a b c) would address that but instead I had to add the source code with the overloading function from directory a into the list of source codes for the ctsim executable,<br><br>does that make sense? <br><br>any thought <br><br>thanks<br><br>Leila<br><br></body></html>