[Jahshaka-cvs] SF.net SVN: openlibraries: [1362] trunk
Status: Beta
Brought to you by:
jahshaka
From: <tim...@us...> - 2008-03-14 18:23:34
|
Revision: 1362 http://openlibraries.svn.sourceforge.net/openlibraries/?rev=1362&view=rev Author: timdewhirst Date: 2008-03-14 11:23:24 -0700 (Fri, 14 Mar 2008) Log Message: ----------- olibs - prototype cmake files Added Paths: ----------- trunk/CMakeLists.txt trunk/src/CMakeLists.txt trunk/src/openpluginlib/CMakeLists.txt trunk/src/openpluginlib/pl/CMakeLists.txt Added: trunk/CMakeLists.txt =================================================================== --- trunk/CMakeLists.txt (rev 0) +++ trunk/CMakeLists.txt 2008-03-14 18:23:24 UTC (rev 1362) @@ -0,0 +1,22 @@ +project( OpenLibraries ) + +# boost +find_package( Boost ) +if ( Boost_FOUND ) + message( found boost: ${Boost_INCLUDE_DIR} ) + include_directories( ${Boost_INCLUDE_DIR} ) +endif ( Boost_FOUND ) + +# SDL +find_package( SDL ) +if ( SDL_FOUND ) + message( found boost: ${SDL_INCLUDE_DIR} ) + include_directories( ${SDL_INCLUDE_DIR} ) +endif ( SDL_FOUND ) + +# kill some warnings +if ( WIN32 ) + set( CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "/wd4273" ) +endif( WIN32 ) + +add_subdirectory( src ) Added: trunk/src/CMakeLists.txt =================================================================== --- trunk/src/CMakeLists.txt (rev 0) +++ trunk/src/CMakeLists.txt 2008-03-14 18:23:24 UTC (rev 1362) @@ -0,0 +1,6 @@ +add_subdirectory( openpluginlib ) +add_subdirectory( openimagelib ) +add_subdirectory( openmedialib ) +#add_subdirectory( openassetlib ) +#add_subdirectory( openeffectslib ) +#add_subdirectory( openobjectlib ) Added: trunk/src/openpluginlib/CMakeLists.txt =================================================================== --- trunk/src/openpluginlib/CMakeLists.txt (rev 0) +++ trunk/src/openpluginlib/CMakeLists.txt 2008-03-14 18:23:24 UTC (rev 1362) @@ -0,0 +1,2 @@ +add_subdirectory( pl ) +#add_subdirectory( py ) Added: trunk/src/openpluginlib/pl/CMakeLists.txt =================================================================== --- trunk/src/openpluginlib/pl/CMakeLists.txt (rev 0) +++ trunk/src/openpluginlib/pl/CMakeLists.txt 2008-03-14 18:23:24 UTC (rev 1362) @@ -0,0 +1,30 @@ +include_directories( ${OpenLibraries_SOURCE_DIR}/src ) +message( including: ${OpenLibraries_SOURCE_DIR}/src ) +set( SOURCES + bind_info.cpp + fast_math.cpp + openplugin.cpp + openpluginlib.cpp + opl_importer.cpp + registry.cpp + utf8_utils.cpp + opl_parser_action.cpp + pool.cpp + timer.cpp + shader_manager.cpp + stream.cpp + shlib.cpp + GL_utility.cpp + cg.cpp + pcos/key.cpp + pcos/property.cpp + pcos/property_container.cpp + pcos/subject.cpp ) + +if ( WIN32 ) + set( SOURCES ${SOURCES} content_handler_msxml.cpp ) +else ( WIN32 ) + set( SOURCES ${SOURCES} content_handler_libxml.cpp ) +endif ( WIN32 ) + +add_library( openpluginlib_pl ${SOURCES} ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |