Linking with another executable
Hello
I am writing two executables, one being a unit test application of the other. The unit test has access to the headers of the first executable and I am looking for a way to use the functionalities.
Is there a way to statically link to another executable... Some linker option make it look like a library, perhaps.
I know that I can make a library from the first exectutable's code, but I'd prefer to save this step
Thanks for any help
It's only when you look at an ant through a magnifying glass on a sunny day that you realise how often they burst into flames