2009/2/4 ankit jain <ankitgu...@gmail.com>: >> >> 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 > > I am using that only but it gives error because it goea to the folder > /usr/lib and try to link it with some .o file.
As already told by others here you should give us more precise informations about your problem. At least, - the CMakeLists.txt you are using or the portion which seems to lead to an error. - the verbatim copy of the error you are observing. without that we may not help you. -- Erk _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake