[CMake] Want to compile a file but does not want to link it in library

2009-05-25 Thread ankit jain
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

Re: [CMake] Linking object file with executable

2009-05-20 Thread ankit jain
2009/5/20 Dmytro Ovdiienko > Hi Ankit. > > > Did you try TARGET_LINK_LIBRARIES? > > TARGET_LINK_LIBRARIES( myexe ${myobj} ) It gives error as myfile.obj.lib not found.. Since it is not library it is not valid to give like this... Ankit > > > 2009/5/19 ankit

[CMake] Linking object file with executable

2009-05-19 Thread ankit jain
() from main.c): second def. ignored 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

Re: [CMake] unable to include a source file for all sub directories

2009-05-18 Thread ankit jain
2009/5/16 Hendrik Sattler > Am Freitag 15 Mai 2009 17:05:58 schrieb ankit jain: > [...] > > The following works with VS2008 without any problem as expected: > CMakeLists.txt: > -- > project(var C) > add_executa

Re: [CMake] unable to include a source file for all sub directories

2009-05-15 Thread ankit jain
2009/5/15 > ankit jain wrote: > > > My source tree structure is: > > Main_folder > >.. Ident.c > >..folder1 > >f11.c > >f12.c > > [...] > > > > Now I am able to get all the source files from all the folders. but > th

[CMake] unable to include a source file for all sub directories

2009-05-15 Thread ankit jain
-- Forwarded message -- From: ankit jain Date: 2009/5/15 Subject: Re: [CMake] unable to include a source file for all sub directories To: Hendrik Sattler 2009/5/15 Hendrik Sattler > Zitat von ankit jain : > >> Now all files iam getting from folder1 and folder2

Re: [CMake] unable to include a source file for all sub directories

2009-05-15 Thread ankit jain
2009/5/15 Hendrik Sattler > Zitat von ankit jain : > >> Linker error for many objects files that have created >> > > So either the object file that contains the symbol is not part of your link > command or you have a coding error. > Since you release neither an e

[CMake] unable to include a source file for all sub directories

2009-05-15 Thread ankit jain
-- Forwarded message -- From: ankit jain Date: 2009/5/15 Subject: Re: [CMake] unable to include a source file for all sub directories To: Hendrik Sattler 2009/5/15 Hendrik Sattler > Zitat von ankit jain : > >> If suppose 5 files are there in one folder and ea

[CMake] unable to include a source file for all sub directories

2009-05-15 Thread ankit jain
-- Forwarded message -- From: ankit jain Date: 2009/5/15 Subject: Re: [CMake] unable to include a source file for all sub directories To: Hendrik Sattler 2009/5/15 Hendrik Sattler Zitat von ankit jain : > >> Now I am able to get all the source files from all th

[CMake] unable to include a source file for all sub directories

2009-05-14 Thread ankit jain
tree structure... 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] Settings different compile options for diff. files in same folder

2009-05-14 Thread ankit jain
-- Forwarded message -- From: ankit jain Date: 2009/5/14 Subject: Settings different compile options for diff. files in same folder.. To: cmake@cmake.org Hi all, I have a folder in which there are 5 files folder a1.c a2.c a3.c a4.c a5.c Out of these from 4th and 5th

[CMake] Settings different compile options for diff. files in same folder..

2009-05-14 Thread ankit jain
clarification required please let me know.. 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

Re: [CMake] CMake, MKS and VC++

2009-05-06 Thread ankit jain
ne.. ankit > > > On Tue, May 5, 2009 at 8:29 AM, ankit jain wrote: > >> Hi all, >> >> I build me code without cmake through mks on windows... it is successful.. >> Now i want to build my code through cmake on mks for windows. The project >> is compiling but

[CMake] CMake, MKS and VC++

2009-05-05 Thread ankit jain
ggled a lot with VC++ for building code thorugh cmake. My code is configured properly but on running it gives lots of error... Any help in this regard really helps me a lot.. Regards- Ankit Jain ___ Powered by www.kitware.com Visit other Kitware

Re: [CMake] Changing the default compiler of VC++

2009-05-04 Thread ankit jain
2009/5/4 Andreas Pakulat > On 04.05.09 17:28:48, ankit jain wrote: > > Hi all, > > > > Actually I am porting my code on windows but since windows don't > understand > > the unix libraries iam using third party toolkit mks earlier to build the > > code and

[CMake] Changing the default compiler of VC++

2009-05-04 Thread ankit jain
olkit rather its default cl compiler... why changing cmake variable doesnot have any effect on it that i mentioned above for compiler... Regards- Ankit Jain ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitwar

[CMake] Cmake support for MKS toolkit

2009-04-30 Thread ankit jain
since i define macro for windows as NUTC for mks.. So please guide how to proceed.. Any help in this regard really helps me a lot... Regards- Ankit Jain ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com

Re: [CMake] cmake hp-ux binary creates .sl libraries rather than .so libraries.

2009-04-28 Thread ankit jain
2009/4/28 Bill Hoffman > Denis Scherbakov wrote: > >> HP-UX on PA-RISC uses *.sl or no extension (like libC.2 for PA-RISC 2.0) >> HP-UX on IA64 uses *.so naming like in Linux. >> >> > http://www.mainsoft.com/solutions/windows_to_hpipf.aspx > > "> Shared library naming convention > >> >> The share

[CMake] cmake hp-ux binary creates .sl libraries rather than .so libraries.

2009-04-28 Thread ankit jain
PA_RISC cmake binaries how to get .so extension for my shared libraries 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

[CMake] wanna execute a command on make clean through cmakelists

2009-04-07 Thread ankit jain
Hi all, I want to remove certain files when i do make clean.These files are generated while running tests. how to achieve it.. if i dont do that the files which once generated remains there... on make clean only object files will remove automatically nothing is needed to do from our side. but apar

Re: [CMake] Argument passing to shell script through cmake

2009-03-26 Thread ankit jain
t... Ankit > > > --- On Wed, 3/25/09, ankit jain wrote: > > > From: ankit jain > > Subject: [CMake] Argument passing to shell script through cmake > > To: cmake@cmake.org > > Date: Wednesday, March 25, 2009, 5:54 AM > > Hi all, > > > > I want

[CMake] how to set options if we have mixture of languages in our project

2009-03-26 Thread ankit jain
Hi all, my project contain c cpp and java files. I have used this line in my main CMakelists file add_definitions(-Wno-deprecated) But when it comes to java folder where java files are there it creates problem said unreconized option with javac. Can i do something for it. Acc. to me if stmt will

[CMake] Argument passing to shell script through cmake

2009-03-25 Thread ankit jain
Hi all, I want to run one shell script which requires some arguments to pass in cmakelists file. Simply using install command to run it does not allow to pass arguments to it. How to do it ankit ___ Powered by www.kitware.com Visit other Kitware

Re: [CMake] Why jars not linked to other files directly in cmake

2009-03-25 Thread ankit jain
2009/3/25 Robert Haines > I have seen that only including the directories where jars exist wil not >> solve the puprose of using those jars. we have to either extract the files >> from it or either include the directories where the file exists from which >> jars have been made. >> > > Have you a

[CMake] Why jars not linked to other files directly in cmake

2009-03-25 Thread ankit jain
Hi all,, I have seen that only including the directories where jars exist wil not solve the puprose of using those jars. we have to either extract the files from it or either include the directories where the file exists from which jars have been made. If we give that path then what is the need o

Re: [CMake] problem with add_custom command

2009-03-25 Thread ankit jain
2009/3/25 Michael Wild > > On 25. Mar, 2009, at 9:33, ankit jain wrote: > > 2009/3/25 Michael Wild >> > > [...] > > >>> What I usually do is this: >>> >>> add_custom_command( OUTPUT ${TARDIR}/t1 >>> COMMAND ${CMAKE_COMM

Re: [CMake] problem with add_custom command

2009-03-25 Thread ankit jain
2009/3/25 Michael Wild > > On 25. Mar, 2009, at 7:51, ankit jain wrote: > > 2009/3/25 Alexander Neundorf >> >> On Tuesday 24 March 2009, ankit jain wrote: >>> >>>> hi all, >>>> >>>> Iam doing the following through my cmakel

Re: [CMake] problem with add_custom command

2009-03-24 Thread ankit jain
2009/3/25 Alexander Neundorf > On Tuesday 24 March 2009, ankit jain wrote: > > hi all, > > > > Iam doing the following through my cmakelist.txt > > > > add_custom_target(mytarget) > > add_custom_command(TARGET mytarget POST_BUILD > > COMMAND ${CMAKE_C

[CMake] problem with add_custom command

2009-03-23 Thread ankit jain
hi all, Iam doing the following through my cmakelist.txt add_custom_target(mytarget) add_custom_command(TARGET mytarget POST_BUILD COMMAND ${CMAKE_COMMAND} -E tar xvf ${CMAKE_CURRENT_SOURCE_DIR}/t1.tar) this cmakelist is written in subfolder of a mainfolder.. But the problem is that files are no

Re: [CMake] How to link jar files to a library through cmake

2009-03-23 Thread ankit jain
2009/3/20 Robert Haines > I am creating a library through add_library command of java files. >> Now i want to link it with some jar files which contain some classes which >> is needed to build that library. >> >> target_link_libraries is not working in this case. >> > > As far as I can tell you

Re: [CMake] How to link jar files to a library through cmake

2009-03-20 Thread ankit jain
2009/3/20 Andreas Pokorny > Hello, > > 2009/3/20 ankit jain : > > Hi all, > > > > I am creating a library through add_library command of java files. > > Now i want to link it with some jar files which contain some classes > which

[CMake] How to link jar files to a library through cmake

2009-03-20 Thread ankit jain
Hi all, I am creating a library through add_library command of java files. Now i want to link it with some jar files which contain some classes which is needed to build that library. target_link_libraries is not working in this case. How to do it?.. Ankit __

Re: [CMake] Building java files from cmake

2009-03-20 Thread ankit jain
- during development > I often use the message command (printf debugging), i.e. > message("MYVAR ${MYVAR}") > > cheers > Mattias > > No problem. Thanks anyways for the support > Ankit > > On 3/20/09, ankit jain wrote: > > 2009/3/20 Mattias Helsing

[CMake] Docs for building java files through cmake

2009-03-20 Thread ankit jain
Hi all, Can anybody tellme where i can find cmake docs that describe about various command and other things for building the java files. it seems that for java compiler flags and other command are diff. as we have for c and cpp files. i wan tcomplete inf. related to it. Ankit ___

Re: [CMake] Building java files from cmake

2009-03-20 Thread ankit jain
t work. Check this link: http://www.mail-archive.com/cmake@cmake.org/msg16764.html Iam not getting whatever given in this link. How to use it i dont know. Ankit > > Mattias > > > On 3/20/09, ankit jain wrote: > > Hi all, > > > > I have a folder "mainfolder&qu

[CMake] Building java files from cmake

2009-03-19 Thread ankit jain
Hi all, I have a folder "mainfolder" with sufolder "innerfolder" which has soem java files. i want to create it class files. for that iam using add_sutom_command to run the javac command but still my class files are not generated. The content of cmakelist of mainfolder is: project(mainfolder) cma

[CMake] Cmake support to Java files

2009-03-19 Thread ankit jain
example to me. 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

Re: [CMake] Linking cmake build library to a shell script

2009-03-16 Thread ankit jain
y. Could you check this? > > Mattias > > Thanks Mattias. There was problem with LD_LIBRARY_PATH only. > Thanks for all your support and interest in my query. Ankit > > On 3/16/09, ankit jain wrote: > > 2009/3/16 Mattias Helsing > > > >> Hello Anki

Re: [CMake] Linking cmake build library to a shell script

2009-03-16 Thread ankit jain
t; > in file CMakeLists.txt > set(TARGET_NAME ) > configure_file(shscript.sh.in ${PROJECT_BINARY_DIR}/bin/shscript.sh) > > not at all the prettiest solution and I'm not really sure why you want > to do this but good luck > Mattias > > On 3/13/09, ankit jain wro

Re: [CMake] Linking cmake build library to a shell script

2009-03-13 Thread ankit jain
2009/3/13 Mattias Helsing > Hello Ankit, > > On 3/13/09, ankit jain wrote: > > Hi all, > > > > I have a shell script. I want to link it with a library that i have build > > using cmake. Is it possible to do so. > > I am running this shell script using c

Re: [CMake] install question

2009-03-13 Thread ankit jain
2009/3/10 Sharon Melamed > Hi, > > > > My main CmakeList.txt file look like this: > > > > cmake_minimum_required (VERSION 2.6) > > project (vos) > Same thing happens to me also. The problem is of RPATH settings. the path your cmakelist links to while installing is not set for the sub directorie

[CMake] Linking cmake build library to a shell script

2009-03-12 Thread ankit jain
Hi all, I have a shell script. I want to link it with a library that i have build using cmake. Is it possible to do so. I am running this shell script using cmake. If possible plz let me show an example. Ankit ___ Powered by www.kitware.com Visit oth

Re: [CMake] install question

2009-03-10 Thread ankit jain
2009/3/10 Sharon Melamed > Hi, > > > > My main CmakeList.txt file look like this: > > > > cmake_minimum_required (VERSION 2.6) > > project (vos) > > > > add_subdirectory (system BUILD) > > add_subdirectory (osal BUILD) > > add_subdirectory (logger BUILD) > > add_subdirectory (loggerConfigTool B

[CMake] install question

2009-03-10 Thread ankit jain
-- Forwarded message -- From: ankit jain Date: 2009/3/10 Subject: Re: [CMake] install question To: Sharon Melamed 2009/3/10 Sharon Melamed >Hi, > > > > My main CmakeList.txt file look like this: > > > > cmake_minimum_required (VE

[CMake] setting and unsetting already existing enviroment varibale at the time of testing

2009-03-08 Thread ankit jain
) #i.e some other path This thing actually does work with my case. iam using "make test". If iam doing soemthing wrong please let me know or if this thing is in progress of development kindly let me know the alternative that can be done for achieving this thing. Regards-

Re: [CMake] Fwd: setting environment variable through cmake

2009-03-06 Thread ankit jain
2009/2/17 Philip Lowman > On Mon, Feb 16, 2009 at 11:03 PM, ankit jain wrote: > >> >> >> -- Forwarded message -- >> From: ankit jain >> Date: 2009/2/17 >> Subject: Re: [CMake] setting environment variable through cmake >> To:

[CMake] Unlinking a library at run time for an executable

2009-02-27 Thread ankit jain
Hi , I have defined a variable for a set of libraries that i want to link with some executables. But with one executble i dont want to use one of the library from the set of libraries. Can i unlink that particular library for this executable since iam using a variable for all those libraries. E

[CMake] Generating shell script through cmake

2009-02-25 Thread ankit jain
Hi, I want to generate a shell script which should be executable through three files. first file has some macros with other functions and other code. Second and third file haev definitions fot he macro the functions. Can i generate a shell script from all this. Ankit ___

[CMake] How to redirect the output of an executable while testing

2009-02-23 Thread ankit jain
Hi all, I have an executable having some test cases. I want to give some arguments to it which i will give it through add_test command. but my objective is to write the output of the executable to a file at run tiem itself. How to do that? Secondly i want ot use this file in which output of exe

[CMake] Problem with testing with cmake

2009-02-18 Thread ankit jain
Hi all, I have a directory structure with follwoign cmakelist as: myfold Cmakelist.txt subfolder subfolder Cmakelists.txt myfile.cpp Contents of Cmakelist of subfolder: add_executable(myfile myfile.cpp) target_link_libraries(myfile mylib) add_test(t1 myfile) t1 is the test cas

[CMake] Working with make test

2009-02-16 Thread ankit jain
Hi all, Actually my test cases are written in C files. os iam creating executable for that nad directly run the executbale through make. Is it necessary to do it like "make test"? If iam not doing is it iam missing something. Apart form them i have some of my test cases defined in .tsh files w

[CMake] Fwd: setting environment variable through cmake

2009-02-16 Thread ankit jain
-- Forwarded message -- From: ankit jain Date: 2009/2/17 Subject: Re: [CMake] setting environment variable through cmake To: Philip Lowman 2009/2/17 Philip Lowman On Mon, Feb 16, 2009 at 7:46 AM, ankit jain wrote: > >> Hi all, >> >> I want to set an en

[CMake] setting environment variable through cmake

2009-02-16 Thread ankit jain
Hi all, I want to set an enviromnet varibale but not able to do it. Currently iam using the command: SET( ENV{varname} value ) But it is not working. Can anybody guide me how to do it by giving an example. Ankit ___ Powered by www.kitware.com Visit o

[CMake] Setting macro while compiling through cmake

2009-02-12 Thread ankit jain
Hi all, If i want to compile through g++ as: g++ -Dname=value The same if i want to do with cmake how to do it. Whether i need to make some entry in CMakeCache.txt or somewhere else? Ankit ___ Powered by www.kitware.com Visit other Kitware open-sourc

[CMake] Fwd: Problem with PARENT_SCOPE

2009-02-11 Thread ankit jain
-- Forwarded message -- From: ankit jain Date: 2009/2/12 Subject: Problem with PARENT_SCOPE To: cmake@cmake.org Hi all, Actually i am usinf PARENT_SCOPE property but facing some problem. the directory structure i have is like this f1 ...f2 .f3 (inside f2) i.e f1 has

[CMake] Problem with PARENT_SCOPE

2009-02-11 Thread ankit jain
Hi all, Actually i am usinf PARENT_SCOPE property but facing some problem. the directory structure i have is like this f1 ...f2 .f3 (inside f2) i.e f1 has f2 folder and f2 has f3 in f3 i have demo.cpp file i set a variable for this file as set(myvar demo.cpp) Also i did set(myvar1 ${my

[CMake] Efficient linking to libraries(static and dynamic)

2009-02-10 Thread ankit jain
Hi all, I have folder f1 having csome cpp files. structure is like this: f1 c1.cpp c2.cpp now i create an executable for it as add_executable(myexe c1.cpp c2.cpp) the path of f1 folder is /home/ankit/mycode/f1 now i want to link myexe to a library lib.so and lib1.a which are not in this

[CMake] Fwd: MSVC7.1 static link question

2009-02-10 Thread ankit jain
-- Forwarded message -- From: ankit jain Date: 2009/2/11 Subject: Re: [CMake] MSVC7.1 static link question To: Brad King 2009/2/10 Brad King Luigi Calori wrote: > >> Bill Hoffman ha scritto: >> >>> Philip Lowman wrote: >>> >>&g

[CMake] linking error with libraries

2009-02-05 Thread ankit jain
Hi, Actually iam linking an excutable to the libraries which is not in the curretn project meanas they are in other folder outside it. i am linking it using target link libraries by giving the entire path of the libraries but still it shows error . if I am missing something please tell me what el

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

2009-02-04 Thread ankit jain
2009/2/4 Eric Noulard > 2009/2/4 ankit jain : > > > > The CMakeLists iam using contains: > > > > PROJECT(hello) > > > > ADD_EXECUTABLE(hello h1.C) > > > > Error iam getting is: > > > > Linking CXX executable hello > > /us

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

2009-02-04 Thread ankit jain
-- Forwarded message -- From: ankit jain Date: 2009/2/4 Subject: Re: [CMake] Fwd: Is it necessary to link a executable file? To: Eric Noulard 2009/2/4 Eric Noulard 2009/2/4 ankit jain : > >> > >> 2009/2/4 ankit jain : > >> > >> > Actu

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

2009-02-04 Thread ankit jain
-- Forwarded message -- From: ankit jain Date: 2009/2/4 Subject: Re: [CMake] Is it necessary to link a executable file? To: Eric Noulard 2009/2/4 Eric Noulard 2009/2/4 ankit jain : > > > Actually in this case i dont want to create libraries thats why iam >

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

2009-02-04 Thread ankit jain
2009/2/4 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. > b

[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 any

Re: [CMake] Fwd: equivalent cmakelist for this file

2009-02-02 Thread ankit jain
2009/2/3 Philip Lowman > On Mon, Feb 2, 2009 at 11:31 PM, ankit jain wrote: > >> >> >> -- Forwarded message -- >> From: ankit jain >> Date: 2009/2/2 >> Subject: Re: [CMake] equivalent cmakelist for this file >> To: Bil

Re: [CMake] Fwd: equivalent cmakelist for this file

2009-02-02 Thread ankit jain
2009/2/3 Philip Lowman > On Mon, Feb 2, 2009 at 11:31 PM, ankit jain wrote: > >> >> >> -- Forwarded message -- >> From: ankit jain >> Date: 2009/2/2 >> Subject: Re: [CMake] equivalent cmakelist for this file >> To: Bil

[CMake] Fwd: equivalent cmakelist for this file

2009-02-02 Thread ankit jain
-- Forwarded message -- From: ankit jain Date: 2009/2/2 Subject: Re: [CMake] equivalent cmakelist for this file To: Bill Hoffman 2009/2/2 Bill Hoffman ankit jain wrote: > >> The objective here to include all the .desc files in the cmakelist and >> when we ma

[CMake] Adding files other than c and cpp in cmakelists file

2009-02-02 Thread ankit jain
Hi all, Can't we include our source files other than C or Cpp in cmakelists file. if yes then if we want to execute those files when we do make then for that what to write in CMakelists file as we write add_library command which we want to do when make will run in some cases. AJ _

Re: [CMake] equivalent cmakelist for this file

2009-02-02 Thread ankit jain
files. AJ 2009/2/2 ankit jain > Actually my motive is to run executable that are executed through .desc > file. so how to write a cmakelist file for that. > > > AJ > > 2009/2/2 Hendrik Sattler > >> ankit jain schrieb: >> >> > Then what to do. I

Re: [CMake] equivalent cmakelist for this file

2009-02-02 Thread ankit jain
Actually my motive is to run executable that are executed through .desc file. so how to write a cmakelist file for that. AJ 2009/2/2 Hendrik Sattler > ankit jain schrieb: > > Then what to do. Is something can be done using Ctest. > > We cannot guess what's in those file

Re: [CMake] equivalent cmakelist for this file

2009-02-02 Thread ankit jain
Then what to do. Is something can be done using Ctest. ankit 2009/2/2 Hendrik Sattler > ankit jain schrieb: > > Can anybody tell me what should be the equivalent cmakelists file > should for > > this makefile. > > > > Makefile: > > > > include Make.bo

[CMake] equivalent cmakelist for this file

2009-02-02 Thread ankit jain
a.desc: $exec_string = "./a"; Similarly for all desc files. I am not able to write a equivalent cmake file for this so that exact output will be produced as on making the simple makefile does. Regards- ankit jain ___ CMake mailing list CMake

[CMake] how to specify path of header files at run time through cmake

2009-01-30 Thread ankit jain
hi all, How can we specify the path of header fiels at run time through cmake since i have a line in my C file as #include "%h" Regards- ankit jain ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] how to build library for this..

2009-01-30 Thread ankit jain
Thanks for all the help its working. Regards- ankit jain 2009/1/30 Philip Lowman > On Thu, Jan 29, 2009 at 11:38 PM, ankit jain wrote: > >> >> >> 2009/1/29 Pau Garcia i Quiles >> >>> On Thu, Jan 29, 2009 at 1:12 PM, ankit jain >>> wrote: >

Re: [CMake] how to build library for this..

2009-01-29 Thread ankit jain
2009/1/29 Pau Garcia i Quiles > On Thu, Jan 29, 2009 at 1:12 PM, ankit jain wrote: > > hi all, > > > > Problem: > > > > libA : A/foo.cc > > libB : B/bar.cc > > and a 3rd library: > > libC : A/foo.cc B/bar.cc > > ? > > > > h

[CMake] how to build library for this..

2009-01-29 Thread ankit jain
hi all, Problem: libA : A/foo.cc libB : B/bar.cc and a 3rd library: libC : A/foo.cc B/bar.cc ? here i build the libraries for A and B but not able to build lib for C . Guide me to do that. What should be the content of cmakelist file of C to create lib C here A and B are sub folders of C Rega

Re: [CMake] how to create library for a folder having only two sub folder

2009-01-29 Thread ankit jain
2009/1/29 Philip Lowman > On Wed, Jan 28, 2009 at 11:49 PM, ankit jain wrote: > >> Hi philip, >> Thanks for showing interest my query. >> >> Actually i have a folder name myapp. it has two sub folders sub1 and sub2 >> only. >> these folders have som

Re: [CMake] how to create library for a folder having only two sub folder

2009-01-29 Thread ankit jain
2009/1/29 Philip Lowman > On Wed, Jan 28, 2009 at 11:49 PM, ankit jain wrote: > >> Hi philip, >> Thanks for showing interest my query. >> >> Actually i have a folder name myapp. it has two sub folders sub1 and sub2 >> only. >> these folders have som

[CMake] Include header files at run time through cmake

2009-01-28 Thread ankit jain
. it still give error on compiling that %h: no such file or directory found. I am not able to understand how to remove it through cmake. regards- ankit jain ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] error: multiple declaration of main

2009-01-28 Thread ankit jain
hi all, in one of my folder i have three files. in each of them a main() function is defined. now on building it says that multiple declaration of main. if i compile the makefile using gcc only no such error had came. Guide me what to do? Regards- ankit jain

[CMake] how to create library for a folder having only two sub folder

2009-01-28 Thread ankit jain
library to be build for the fodlers for which the separate libraries are already build. Please guide me how to do that. Regards- ankit jain ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake