Re: [CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

2007-12-08 Thread Olumide
Olumide wrote: I've still got a few odd's and ends to take care of. To begin with, the target application (Autodesk Maya) refuses to lead the plugin because its unable to find an initialize function which is included in the source file pluginMain.cpp. Specifically, the output should have a .mll

Re: [CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

2007-12-07 Thread Olumide
Olumide wrote: Olumide wrote: The directory C:\Work\Demo\TestTexturePlugin\CMakeFiles now contains, among other files, Makefile2, which I assume is the NMake Makefile, and Makefile.cmake. Where can I find more information about these files. I'm not sure which files I need to perform the migrat

Re: [CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

2007-12-06 Thread Olumide
Olumide wrote: The directory C:\Work\Demo\TestTexturePlugin\CMakeFiles now contains, among other files, Makefile2, which I assume is the NMake Makefile, and Makefile.cmake. Where can I find more information about these files. I'm not sure which files I need to perform the migration to eclipse.

Re: [CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

2007-12-06 Thread Olumide
Bill Hoffman wrote: Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx -- Configuring done That is success. You would of course need to create a foo.cxx file to be compiled. But the compiler detection worked fine. I would recommend starting from an empty

Re: [CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

2007-12-06 Thread Bill Hoffman
Olumide wrote: Bill Hoffman wrote: Are you running in this directory: C:/Program Files/Common Files/System/Mapi/1033? I'm running the tests you've asked me to in this directory. My projects are in another directory. Can you give the version of cmake and exact commands you are running? I

Re: [CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

2007-12-06 Thread Olumide
Bill Hoffman wrote: Are you running in this directory: C:/Program Files/Common Files/System/Mapi/1033? I'm running the tests you've asked me to in this directory. My projects are in another directory. Can you give the version of cmake and exact commands you are running? I have cmake versi

Re: [CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

2007-12-06 Thread Bill Hoffman
Olumide wrote: CMake Error: Could not find cmake module file:C:/Program Files/Common Files/System/Mapi/1033/CMakeFiles/CMakeCXXCompiler.cmake CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring done Are you r

Re: [CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

2007-12-06 Thread Olumide
Bill Hoffman wrote: I've started the visual studio (.NET 2003) command prompt as you described and typed the commands cmake -G"Unix Makefiles" C:\Work\Demo\TestTexturePlugin cmake -G"NMake Makefiles" C:\Work\Demo\TestTexturePlugin in it, but I still got the errors: CMAKE_CXX_COMPILER CMake Err

Re: [CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

2007-12-06 Thread Bill Hoffman
Olumide wrote: The command prompt can be found from your start menu: Start Menu -> All Programs -> Microsoft Visual Studio 2005 -> Visual Studio Tools -> Visual Studio 2005 Command Prompt. This will give you a regular windows command prompt with all environment variables set up in order for y

Re: [CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

2007-12-06 Thread Olumide
The command prompt can be found from your start menu: Start Menu -> All Programs -> Microsoft Visual Studio 2005 -> Visual Studio Tools -> Visual Studio 2005 Command Prompt. This will give you a regular windows command prompt with all environment variables set up in order for you to be able to

Re: [CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

2007-12-05 Thread Jesper Eskilson
Olumide wrote: Bill Hoffman wrote: I'm trying to generate a Unix style (or NMake) Makefile that I can use to port my visual studio project to eclipse. I've tried running cmake on the project directory with the -G"Unix Makefiles" and -G"NMake Makefiles" option, but its not working -- I'm gettin

Re: [CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

2007-12-05 Thread Olumide
Bill Hoffman wrote: I'm trying to generate a Unix style (or NMake) Makefile that I can use to port my visual studio project to eclipse. I've tried running cmake on the project directory with the -G"Unix Makefiles" and -G"NMake Makefiles" option, but its not working -- I'm getting lots of errors

Re: [CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

2007-12-05 Thread Bill Hoffman
Olumide wrote: Olumide wrote: I'm a CMake newbie and I'd appreciate help creating a makefile *from* a Visual Studio .NET 2003 project/solution. I'm trying like to migrate my projects to eclipse and I hope CMake will help make that transition. I'm trying to generate a Unix style (or NMake) Mak

Re: [CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

2007-12-05 Thread Olumide
Olumide wrote: I'm a CMake newbie and I'd appreciate help creating a makefile *from* a Visual Studio .NET 2003 project/solution. I'm trying like to migrate my projects to eclipse and I hope CMake will help make that transition. I'm trying to generate a Unix style (or NMake) Makefile that I can

Re: [CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

2007-12-04 Thread Olumide
Jesper Eskilson wrote: > I've uploaded a new version of the vcproj2cmake.rb script which does not > emit any add_locale() macros. > ... >> include_directories( >> C:/Program Files/Alias/Maya6.5/include >> ) > > You need double quotes around the path, since it contains spaces. > >> add_definitio

Re: [CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

2007-12-04 Thread Jesper Eskilson
Olumide wrote: > Hello - > > I'm a CMake newbie and I'd appreciate help creating a makefile *from* a > Visual Studio .NET 2003 project/solution. I'm trying like to migrate my > projects to eclipse and I hope CMake will help make that transition. > > Many thanks, > > - Olumide > > > PS: I've al

[CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

2007-12-03 Thread Olumide
Hello - I'm a CMake newbie and I'd appreciate help creating a makefile *from* a Visual Studio .NET 2003 project/solution. I'm trying like to migrate my projects to eclipse and I hope CMake will help make that transition. Many thanks, - Olumide PS: I've already tried creating the config fil