[CMake] Is it necessary to link a executable file?

2009-02-04 Thread ankit jain
Hi all, I have created executable file from C files. is it necessary to link them to some directories. if dont want to do so is ther any problem? Can i do that? Actually since iam not linking it with any library iam facing a problem. but if i create a library of those files or linking them to

Re: [CMake] Is it necessary to link a executable file?

2009-02-04 Thread ankit jain
2009/2/4 ankit jain ankitgu...@gmail.com Hi all, I have created executable file from C files. is it necessary to link them to some directories. if dont want to do so is ther any problem? Can i do that? Actually since iam not linking it with any library iam facing a problem. but if i

Re: [CMake] Is it necessary to link a executable file?

2009-02-04 Thread Eric Noulard
2009/2/4 ankit jain ankitgu...@gmail.com: Actually in this case i dont want to create libraries thats why iam wondering whether making only executable is permissble or not? If you use ADD_EXECUTABLE it should work just fine. -- Erk ___ CMake