---------- Forwarded message ---------- From: ankit jain <[email protected]> Date: 2009/2/2 Subject: Re: [CMake] equivalent cmakelist for this file To: Bill Hoffman <[email protected]>
2009/2/2 Bill Hoffman <[email protected]> ankit jain wrote: > >> The objective here to include all the .desc files in the cmakelist and >> when we make it it should generate the executable for it like if we include >> abc.desc then after make it should generate a file abc which is executable >> and a script which has test cases but generated by .desc file only. In order >> to achieve that guide me how to write cmake list file for it so that it wiil >> produce equivalent behaviour as normal make does using unix makefiles. >> When we make to the unix makefiles it is generating the equivalent >> executable mentioned inthat .desc file. >> I want to achieve that through Cmakelist files. >> >> > > I am still not really sure what is in a .desc file. Please restate your > problem as if the .desc file did not exist. > > Something like: > > I want a cmakelists file that does this: > > 1. ... > 2. ... > > > Basically describe the functionality you want without describing the > current makefile implementation of that functionality. The currently > implementation is most likely irrelevant to the cmake solution to the > problem. > > -Bill > Actually these .desc file contain only one line as: $exec_string = "./abc" This abc contain shell script code. Actually the cmakelist file should do: 1. this functionality to create ./abc this file should generate after running make. since this line is written in desc files thats why i write this to you. You tell me how to create that using cmakelist file. Ankit
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
