Changeset 593
- Timestamp:
- 07/15/08 07:20:41 (4 months ago)
- Files:
-
- trunk/rphp/runtime/CMakeLists.txt (modified) (1 diff)
- trunk/rphp/runtime/include (added)
- trunk/rphp/runtime/include/CowPtr.h (moved) (moved from trunk/rphp/runtime/cowptr.h)
- trunk/rphp/runtime/include/pHash.h (moved) (moved from trunk/rphp/runtime/rphp_hash.h) (4 diffs)
- trunk/rphp/runtime/include/pObject.h (moved) (moved from trunk/rphp/runtime/rphp_object.h) (2 diffs)
- trunk/rphp/runtime/include/pRuntime.h (moved) (moved from trunk/rphp/runtime/rphp_runtime.h) (1 diff)
- trunk/rphp/runtime/include/pTypes.h (moved) (moved from trunk/rphp/runtime/rphp_types.h) (2 diffs)
- trunk/rphp/runtime/include/pVar.h (moved) (moved from trunk/rphp/runtime/rphp_pvar.h)
- trunk/rphp/runtime/pHash.cpp (moved) (moved from trunk/rphp/runtime/rphp_hash.cpp) (1 diff)
- trunk/rphp/runtime/pObject.cpp (moved) (moved from trunk/rphp/runtime/rphp_object.cpp) (1 diff)
- trunk/rphp/runtime/pTypes.cpp (moved) (moved from trunk/rphp/runtime/rphp_types.cpp) (1 diff)
- trunk/rphp/runtime/test/CMakeLists.txt (modified) (1 diff)
- trunk/rphp/runtime/test/phashTestCase.cpp (modified) (1 diff)
- trunk/rphp/runtime/test/pvarTestCase.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/rphp/runtime/CMakeLists.txt
r591 r593 7 7 cmake_minimum_required(VERSION 2.6) 8 8 9 include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${Boost_INCLUDE_DIRS})9 include_directories (${CMAKE_SOURCE_DIR}/include ${CMAKE_BINARY_DIR} ${Boost_INCLUDE_DIRS}) 10 10 11 # runtime library12 11 set(RUNTIME_SRC_FILES 13 rphp_hash.cpp14 rphp_object.cpp15 rphp_types.cpp12 pHash.cpp 13 pObject.cpp 14 pTypes.cpp 16 15 ) 17 16 18 add_library( rphp _runtime SHARED ${RUNTIME_SRC_FILES} )17 add_library( rphp-runtime SHARED ${RUNTIME_SRC_FILES} ) 19 18 20 trunk/rphp/runtime/include/pHash.h
r592 r593 17 17 * ***** END LICENSE BLOCK ***** */ 18 18 19 #ifndef RPHP_ HASH_H_20 #define RPHP_ HASH_H_19 #ifndef RPHP_PHASH_H_ 20 #define RPHP_PHASH_H_ 21 21 22 22 #include <boost/multi_index_container.hpp> … … 26 26 #include <iostream> 27 27 28 #include " rphp_pvar.h"28 #include "pVar.h" 29 29 30 30 // hash function for use with rphp::pUString … … 72 72 /** 73 73 * pHash definition 74 *75 74 */ 76 75 class pHash { … … 120 119 } /* namespace rphp */ 121 120 122 #endif /* RPHP_ HASH_H_ */121 #endif /* RPHP_PHASH_H_ */ trunk/rphp/runtime/include/pObject.h
r592 r593 17 17 * ***** END LICENSE BLOCK ***** */ 18 18 19 #ifndef RPHP_ OBJECT_H_20 #define RPHP_ OBJECT_H_19 #ifndef RPHP_POBJECT_H_ 20 #define RPHP_POBJECT_H_ 21 21 22 #include "rphp_hash.h"23 22 #include <iostream> 23 24 #include "pHash.h" 24 25 25 26 namespace rphp { … … 43 44 } 44 45 45 #endif /* RPHP_ OBJECT_H_ */46 #endif /* RPHP_POBJECT_H_ */ trunk/rphp/runtime/include/pRuntime.h
r572 r593 17 17 * ***** END LICENSE BLOCK ***** */ 18 18 19 #ifndef RPHP_ RUNTIME_H_20 #define RPHP_ RUNTIME_H_19 #ifndef RPHP_PRUNTIME_H_ 20 #define RPHP_PRUNTIME_H_ 21 21 22 #include " rphp_types.h"22 #include "pTypes.h" 23 23 24 #endif /* RPHP_ RUNTIME_H_ */24 #endif /* RPHP_PRUNTIME_H_ */ trunk/rphp/runtime/include/pTypes.h
r592 r593 17 17 * ***** END LICENSE BLOCK ***** */ 18 18 19 #ifndef RPHP_ TYPES_H_20 #define RPHP_ TYPES_H_19 #ifndef RPHP_PTYPES_H_ 20 #define RPHP_PTYPES_H_ 21 21 22 #include "boost/lexical_cast.hpp"22 #include <boost/lexical_cast.hpp> 23 23 24 #include " rphp_pvar.h"25 #include " rphp_hash.h"26 #include " rphp_object.h"24 #include "pVar.h" 25 #include "pHash.h" 26 #include "pObject.h" 27 27 28 28 namespace rphp { … … 158 158 159 159 160 #endif /* RPHP_ TYPES_H_ */160 #endif /* RPHP_PTYPES_H_ */ trunk/rphp/runtime/pHash.cpp
r592 r593 17 17 * ***** END LICENSE BLOCK ***** */ 18 18 19 #include "rphp_hash.h"20 19 #include <iostream> 20 #include "pHash.h" 21 21 22 22 U_NAMESPACE_BEGIN trunk/rphp/runtime/pObject.cpp
r592 r593 17 17 * ***** END LICENSE BLOCK ***** */ 18 18 19 #include "rphp_object.h"20 19 #include <iostream> 20 #include "pObject.h" 21 21 22 22 namespace rphp { trunk/rphp/runtime/pTypes.cpp
r592 r593 17 17 * ***** END LICENSE BLOCK ***** */ 18 18 19 #include " rphp_types.h"19 #include "pTypes.h" 20 20 21 21 namespace rphp { trunk/rphp/runtime/test/CMakeLists.txt
r588 r593 9 9 # XXX fixme 10 10 link_directories (${CMAKE_SOURCE_DIR}/../build/) 11 include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/../ )11 include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/../include/) 12 12 13 13 # test apps 14 add_executable( rphp _runtime_suite main.cpp phashTestCase.cpp pvarTestCase.cpp )15 target_link_libraries( rphp _runtime_suite cppunit rphp_runtime ${ICU_LIBRARIES} ${ICU_IO_LIBRARIES})14 add_executable( rphp-runtime-suite main.cpp phashTestCase.cpp pvarTestCase.cpp ) 15 target_link_libraries( rphp-runtime-suite cppunit rphp-runtime ${ICU_LIBRARIES} ${ICU_IO_LIBRARIES}) trunk/rphp/runtime/test/phashTestCase.cpp
r592 r593 3 3 #include <iostream> 4 4 5 #include " rphp_runtime.h"5 #include "pRuntime.h" 6 6 7 7 #include "phashTestCase.h" trunk/rphp/runtime/test/pvarTestCase.cpp
r592 r593 9 9 #include <iostream> 10 10 11 #include " rphp_runtime.h"11 #include "pRuntime.h" 12 12 #include "pvarTestCase.h" 13 13
