Olumide
2007-12-04 03:31:46 UTC
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 file CMakeLists.txt using
vcproj2cmake.rb ( http://www.eskilson.se/vcproj2cmake.rb ). Below is the
config file generated from a small project -- commenting out the
offending add_locate directives(?). I'm not sure how of what I ought to
do next in order to generate a standard (UNIX) makefile.
#################################################################
project( TestTexturePlugin )
set(SOURCES
pluginMain.cpp
)
include_directories(
C:/Program Files/Alias/Maya6.5/include
)
add_definitions(
-DWIN32,_DEBUG,_WINDOWS,_AFXDLL,_MBCS,NT_PLUGIN,REQUIRE_IOSTREAM
)
add_library( TestTexturePlugin SHARED ${SOURCES} )
#add_locale( TestTexturePlugin ENU <RESFILE> )
#add_locale( TestTexturePlugin JPN <RESFILE> )
target_link_libraries( TestTexturePlugin Foundation OpenMaya )
#################################################################
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 file CMakeLists.txt using
vcproj2cmake.rb ( http://www.eskilson.se/vcproj2cmake.rb ). Below is the
config file generated from a small project -- commenting out the
offending add_locate directives(?). I'm not sure how of what I ought to
do next in order to generate a standard (UNIX) makefile.
#################################################################
project( TestTexturePlugin )
set(SOURCES
pluginMain.cpp
)
include_directories(
C:/Program Files/Alias/Maya6.5/include
)
add_definitions(
-DWIN32,_DEBUG,_WINDOWS,_AFXDLL,_MBCS,NT_PLUGIN,REQUIRE_IOSTREAM
)
add_library( TestTexturePlugin SHARED ${SOURCES} )
#add_locale( TestTexturePlugin ENU <RESFILE> )
#add_locale( TestTexturePlugin JPN <RESFILE> )
target_link_libraries( TestTexturePlugin Foundation OpenMaya )
#################################################################