File tree Expand file tree Collapse file tree 10 files changed +43
-22
lines changed Expand file tree Collapse file tree 10 files changed +43
-22
lines changed Original file line number Diff line number Diff line change 11add_subdirectory (xrLCUtil)
22add_subdirectory (xrQSlim)
3+ add_subdirectory (xrMiscMath)
Original file line number Diff line number Diff line change 1+ project (xrMiscMath)
2+
3+ list (APPEND DIRS
4+ "."
5+ )
6+
7+ add_dir("${DIRS} " )
8+
9+ include_directories (
10+ ${CMAKE_CURRENT_SOURCE_DIR} /../..
11+ ${CMAKE_CURRENT_SOURCE_DIR} /../../../sdk/include
12+ )
13+
14+ #list(REMOVE_ITEM ${PROJECT_NAME}__SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/./LevelCompilerLoggerWindow.cpp")
15+ #ist(REMOVE_ITEM ${PROJECT_NAME}__INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}/./LevelCompilerLoggerWindow.hpp")
16+
17+ add_library (${PROJECT_NAME} STATIC ${${PROJECT_NAME} __SOURCES} ${${PROJECT_NAME} __INCLUDES})
18+ set_property (TARGET ${PROJECT_NAME} PROPERTY POSITION_INDEPENDENT_CODE ON )
Original file line number Diff line number Diff line change @@ -26,4 +26,4 @@ add_definitions(-DXRAICORE_EXPORTS -DAI_COMPILER -D_SECURE_SCL=0)
2626add_library (${PROJECT_NAME} SHARED ${${PROJECT_NAME} __SOURCES} ${${PROJECT_NAME} __INCLUDES})
2727
2828set_target_properties (${PROJECT_NAME} PROPERTIES PREFIX "" )
29- target_link_libraries (${PROJECT_NAME} xrCore xrAPI xrScriptEngine luabind luajit)
29+ target_link_libraries (${PROJECT_NAME} xrCore xrMiscMath xrAPI xrScriptEngine luabind luajit)
Original file line number Diff line number Diff line change 11project (xrCDB)
22
33list (APPEND DIRS
4- "."
5- )
4+ "."
5+ )
66
77add_dir("${DIRS} " )
88
@@ -11,4 +11,4 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.
1111add_library (${PROJECT_NAME} SHARED ${${PROJECT_NAME} __SOURCES} ${${PROJECT_NAME} __INCLUDES})
1212
1313set_target_properties (${PROJECT_NAME} PROPERTIES PREFIX "" )
14- target_link_libraries (${PROJECT_NAME} xrCore OPCODE xrAPI)
14+ target_link_libraries (${PROJECT_NAME} xrCore xrMiscMath OPCODE xrAPI)
Original file line number Diff line number Diff line change @@ -31,4 +31,4 @@ set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
3131#this is a temporary solution until find_package will not be fixed
3232set (TBB_LIBRARIES tbb tbbmalloc_proxy tbbmalloc)
3333
34- target_link_libraries (${PROJECT_NAME} ${SDL_LIBRARIES} ${LZO_LIBRARY} crypto++ ${PUGIXML_LIBRARY} ${TBB_LIBRARIES} )
34+ target_link_libraries (${PROJECT_NAME} xrMiscMath ${SDL_LIBRARIES} ${LZO_LIBRARY} ${CRYPTO++_LIBRARIES} ${PUGIXML_LIBRARY} ${TBB_LIBRARIES} )
Original file line number Diff line number Diff line change 22#ifndef __V2D__
33#define __V2D__
44#include " xrCommon/inlining_macros.h"
5+ #include " xrCore/math_constants.h"
6+
57
68#ifdef min
79# undef min
Original file line number Diff line number Diff line change @@ -29,4 +29,4 @@ add_definitions(-DENGINE_BUILD)
2929add_library (${PROJECT_NAME} SHARED ${${PROJECT_NAME} __SOURCES} ${${PROJECT_NAME} __INCLUDES})
3030
3131set_target_properties (${PROJECT_NAME} PROPERTIES PREFIX "" )
32- target_link_libraries (${PROJECT_NAME} xrCore luabind xrAPI xrSound xrScriptEngine luajit theora ${OGG_LIBRARIES} xrCDB xrPhysics freeimage openal lockfile ${SDL_LIBRARIES} )
32+ target_link_libraries (${PROJECT_NAME} xrCore xrMiscMath luabind xrAPI xrSound xrScriptEngine luajit theora ${OGG_LIBRARIES} xrCDB xrPhysics freeimage openal lockfile ${SDL_LIBRARIES} )
Original file line number Diff line number Diff line change 11project (xrParticles)
22
33list (APPEND DIRS
4- "."
5- )
4+ "."
5+ )
66
77add_dir("${DIRS} " )
88
99include_directories (
10- ${CMAKE_CURRENT_SOURCE_DIR} /..
11- ${CMAKE_CURRENT_SOURCE_DIR} /../../sdk/include
12- )
10+ ${CMAKE_CURRENT_SOURCE_DIR} /..
11+ ${CMAKE_CURRENT_SOURCE_DIR} /../../sdk/include
12+ )
1313
1414#list(REMOVE_ITEM ${PROJECT_NAME}__SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/./xr_cda.cpp")
1515#list(REMOVE_ITEM ${PROJECT_NAME}__INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}/./xr_cda.h")
@@ -18,4 +18,4 @@ add_definitions(-DXR_PARTICLES_EXPORTS)
1818add_library (${PROJECT_NAME} SHARED ${${PROJECT_NAME} __SOURCES} ${${PROJECT_NAME} __INCLUDES})
1919
2020set_target_properties (${PROJECT_NAME} PROPERTIES PREFIX "" )
21- target_link_libraries (${PROJECT_NAME} xrCore)
21+ target_link_libraries (${PROJECT_NAME} xrCore xrMiscMath )
Original file line number Diff line number Diff line change 11project (xrPhysics)
22
33list (APPEND DIRS
4- "."
5- "tri-colliderknoopc"
6- "dcylinder"
7- )
4+ "."
5+ "tri-colliderknoopc"
6+ "dcylinder"
7+ )
88
99add_dir("${DIRS} " )
1010
1111include_directories (
12- ${CMAKE_CURRENT_SOURCE_DIR} /..
13- ${CMAKE_CURRENT_SOURCE_DIR} /../../Externals/ode/include
14- ${CMAKE_CURRENT_SOURCE_DIR} /../../sdk/include
12+ ${CMAKE_CURRENT_SOURCE_DIR} /..
13+ ${CMAKE_CURRENT_SOURCE_DIR} /../../Externals/ode/include
14+ ${CMAKE_CURRENT_SOURCE_DIR} /../../sdk/include
1515 /usr/include /SDL2
16- )
16+ )
1717
1818list (REMOVE_ITEM ${PROJECT_NAME} __SOURCES "${CMAKE_CURRENT_SOURCE_DIR} /tri-colliderknoopc/dcTriListCollider.cpp" )
1919#list(REMOVE_ITEM ${PROJECT_NAME}__INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}/./xr_cda.h")
@@ -22,4 +22,4 @@ add_definitions(-DXRPHYSICS_EXPORTS -DdSINGLE -D_SECURE_SCL=0)
2222add_library (${PROJECT_NAME} SHARED ${${PROJECT_NAME} __SOURCES} ${${PROJECT_NAME} __INCLUDES})
2323
2424set_target_properties (${PROJECT_NAME} PROPERTIES PREFIX "" )
25- target_link_libraries (${PROJECT_NAME} xrCore ODE xrScriptEngine xrAPI xrCDB xrSound)
25+ target_link_libraries (${PROJECT_NAME} xrCore xrMiscMath ODE xrScriptEngine xrAPI xrCDB xrSound)
Original file line number Diff line number Diff line change @@ -25,4 +25,4 @@ add_definitions(-DXRSOUND_EXPORTS -DdSINGLE -D_SECURE_SCL=0)
2525add_library (${PROJECT_NAME} SHARED ${${PROJECT_NAME} __SOURCES} ${${PROJECT_NAME} __INCLUDES})
2626
2727set_target_properties (${PROJECT_NAME} PROPERTIES PREFIX "" )
28- target_link_libraries (${PROJECT_NAME} xrCore xrAPI xrCDB ${OGG_LIBRARIES} openal vorbis vorbisfile)
28+ target_link_libraries (${PROJECT_NAME} xrCore xrMiscMath xrAPI xrCDB ${OGG_LIBRARIES} openal vorbis vorbisfile)
You can’t perform that action at this time.
0 commit comments