on the linker setting we can choose to add library
what is the equivalent of doing this by writing pragma?
i have tried #pragma comment(lib, object.o)
but it doesnt work But, if i add object from linker setting it's compiled successfully. So i want to know what are the flags. So i can add object thru the source code file by writing pragma.
windows7
CB 16.07
build log:
main.obj||fatal error LNK1276: invalid directive 'F:\mnr\resource.o' found; does not start with '/'|