Hi Bill Thanks so much!! It worked!!!
Thanks and Regards Anupam Malhotra -----Original Message----- From: Bill Hoffman [mailto:[EMAIL PROTECTED] Sent: Monday, February 04, 2008 6:36 PM To: Malhotra, Anupam Cc: [email protected] Subject: Re: [CMake] ADD_LIBRARY Issue Malhotra, Anupam wrote: > Hi > > > > I have a project in which I am creating a static library using cmake. > The source files to be used for the library are spread over two > subfolders. I have a main folder say TLV and within TLV I have two > subfolders EXT and STD. The C source files are present in both STD and > EXT. Now in CMakeLists.txt file present in TLV folder, the following > ADD_LIBRARY command is given: > > > > ADD_LIBRARY(vtlv "EXT\\ext1.c" "EXT\\ext2.c" "STD\\std1.c" "STD\\std2.c") > > > > But this gives an error saying invalid escape sequence \v. Can someone > please tell me how we can create this library using source files in two > different subfolders? > > CMake uses POSIX's paths. So EXT/ext1.c EXT/ext2.c is what you want. -Bill The information contained in this electronic mail transmission may be privileged and confidential, and therefore, protected from disclosure. If you have received this communication in error, please notify us immediately by replying to this message and deleting it from your computer without copying or disclosing it. _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
