Changeset 9077 for code/branches/testing
- Timestamp:
- Apr 1, 2012, 6:48:06 PM (13 years ago)
- Location:
- code/branches/testing
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/testing/cmake/LibraryConfig.cmake
r9020 r9077 162 162 1.44 1.44.0 1.45 1.45.0 1.46 1.46.0 1.46.1) 163 163 IF(NOT TARDIS) 164 # optional165 FIND_PACKAGE(Boost 1.40 COMPONENTS unit_test_framework)166 # required167 164 FIND_PACKAGE(Boost 1.40 REQUIRED thread filesystem system date_time) 168 165 ENDIF() -
code/branches/testing/src/libraries/util/Math.h
r9026 r9077 238 238 inline T interpolate(float time, const T& start, const T& end) 239 239 { 240 return time * (end - start) + start;240 return static_cast<T>(time * (end - start) + start); 241 241 } 242 242 … … 251 251 inline T interpolateSmooth(float time, const T& start, const T& end) 252 252 { 253 return (-2 * (end - start) * cube(time)) + (3 * (end - start) * square(time)) + start;253 return static_cast<T>((-2 * (end - start) * cube(time)) + (3 * (end - start) * square(time)) + start); 254 254 } 255 255 -
code/branches/testing/test/CMakeLists.txt
r9025 r9077 47 47 48 48 INCLUDE_DIRECTORIES( 49 ../src/external 49 50 ../src/libraries 50 51 ../src/orxonox 51 52 ../src/modules 52 53 ${CMAKE_BINARY_DIR}/src 54 ${Boost_INCLUDE_DIRS} 53 55 ${OGRE_INCLUDE_DIR} 54 56 ${POCO_INCLUDE_DIR} -
code/branches/testing/test/CTestCustom.cmake
r9025 r9077 1 SET(ENV{PATH} "@ CMAKE_LIBRARY_PATH@;$ENV{PATH}")1 SET(ENV{PATH} "@RUNTIME_LIBRARY_DIRECTORY@;$ENV{PATH}")
Note: See TracChangeset
for help on using the changeset viewer.