Hi all, I have a folder f1 having 4 files c1.c c2.c c3.c c4.c. Now iam compiling all these files with certain definitions and other compiler flags.
Now what i want is that when iam building library for this forder f1 it does not take c4.c One way is that i should not include this file in creating library.In that case c4.c willnot be compiled but i want c4.c to compile but not be included in the library. Also if i use add_custom_command to compile that file explicitly then i have to give all the definitions and other compiler option settings for that file explicitly which i dont want to do.. Is there any option in cmake while creating library which allows compiling a file but not linking it in library. Regards- Ankit Jain
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
