mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Update extensions
This commit is contained in:
parent
eef2bb060a
commit
6abe937488
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
ace_fcs.dll
BIN
ace_fcs.dll
Binary file not shown.
BIN
ace_medical.dll
BIN
ace_medical.dll
Binary file not shown.
Binary file not shown.
@ -1,9 +1,9 @@
|
|||||||
cmake_minimum_required (VERSION 3.0)
|
cmake_minimum_required (VERSION 3.0)
|
||||||
project (ACE)
|
project (ACE)
|
||||||
|
|
||||||
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
add_definitions(/DWINVER=0x0600 /D_WIN32_WINNT=0x0600)
|
add_definitions(/DWINVER=0x0600 /D_WIN32_WINNT=0x0600)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
@ -41,7 +41,7 @@ if(USE_BULLET)
|
|||||||
set(BACKUP_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY})
|
set(BACKUP_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY})
|
||||||
set(BACKUP_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY})
|
set(BACKUP_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY})
|
||||||
set(BACKUP_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
|
set(BACKUP_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
|
||||||
|
|
||||||
add_definitions(-DUSE_DIRECTX)
|
add_definitions(-DUSE_DIRECTX)
|
||||||
add_subdirectory(lib/bullet3)
|
add_subdirectory(lib/bullet3)
|
||||||
|
|
||||||
@ -58,7 +58,7 @@ if(USE_BULLET)
|
|||||||
set_target_properties(BulletDynamics PROPERTIES FOLDER Bullet3)
|
set_target_properties(BulletDynamics PROPERTIES FOLDER Bullet3)
|
||||||
set_target_properties(BulletFileLoader PROPERTIES FOLDER Bullet3)
|
set_target_properties(BulletFileLoader PROPERTIES FOLDER Bullet3)
|
||||||
set_target_properties(BulletSoftBody PROPERTIES FOLDER Bullet3)
|
set_target_properties(BulletSoftBody PROPERTIES FOLDER Bullet3)
|
||||||
|
|
||||||
set_target_properties(BulletWorldImporter PROPERTIES FOLDER Bullet3)
|
set_target_properties(BulletWorldImporter PROPERTIES FOLDER Bullet3)
|
||||||
set_target_properties(BulletXmlWorldImporter PROPERTIES FOLDER Bullet3)
|
set_target_properties(BulletXmlWorldImporter PROPERTIES FOLDER Bullet3)
|
||||||
set_target_properties(ConvexDecomposition PROPERTIES FOLDER Bullet3)
|
set_target_properties(ConvexDecomposition PROPERTIES FOLDER Bullet3)
|
||||||
@ -68,11 +68,11 @@ if(USE_BULLET)
|
|||||||
set_target_properties(HACD PROPERTIES FOLDER Bullet3)
|
set_target_properties(HACD PROPERTIES FOLDER Bullet3)
|
||||||
set_target_properties(OpenGLWindow PROPERTIES FOLDER Bullet3)
|
set_target_properties(OpenGLWindow PROPERTIES FOLDER Bullet3)
|
||||||
set_target_properties(LinearMath PROPERTIES FOLDER Bullet3)
|
set_target_properties(LinearMath PROPERTIES FOLDER Bullet3)
|
||||||
|
|
||||||
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${BACKUP_ARCHIVE_OUTPUT_DIRECTORY})
|
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${BACKUP_ARCHIVE_OUTPUT_DIRECTORY})
|
||||||
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${BACKUP_LIBRARY_OUTPUT_DIRECTORY})
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${BACKUP_LIBRARY_OUTPUT_DIRECTORY})
|
||||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${BACKUP_RUNTIME_OUTPUT_DIRECTORY})
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${BACKUP_RUNTIME_OUTPUT_DIRECTORY})
|
||||||
|
|
||||||
include_directories(BEFORE "lib/bullet3/src")
|
include_directories(BEFORE "lib/bullet3/src")
|
||||||
endif()
|
endif()
|
||||||
if(USE_DIRECTX)
|
if(USE_DIRECTX)
|
||||||
@ -89,7 +89,7 @@ endif()
|
|||||||
|
|
||||||
string(TIMESTAMP ACE_BUILDSTAMP "%Y-%m-%dT%H:%M:%SZ")
|
string(TIMESTAMP ACE_BUILDSTAMP "%Y-%m-%dT%H:%M:%SZ")
|
||||||
set(ACE_VERSION_MAJOR 3)
|
set(ACE_VERSION_MAJOR 3)
|
||||||
set(ACE_VERSION_MINOR 5)
|
set(ACE_VERSION_MINOR 6)
|
||||||
set(ACE_VERSION_REVISION 0)
|
set(ACE_VERSION_REVISION 0)
|
||||||
EXECUTE_PROCESS(COMMAND git rev-parse --verify HEAD
|
EXECUTE_PROCESS(COMMAND git rev-parse --verify HEAD
|
||||||
OUTPUT_VARIABLE T_ACE_VERSION_BUILD
|
OUTPUT_VARIABLE T_ACE_VERSION_BUILD
|
||||||
@ -100,14 +100,14 @@ string(SUBSTRING ${T_ACE_VERSION_BUILD} 0 7 ACE_VERSION_BUILD )
|
|||||||
message("Building for: " ${ACE_VERSION_MAJOR}.${ACE_VERSION_MINOR}.${ACE_VERSION_REVISION}-${ACE_VERSION_BUILD})
|
message("Building for: " ${ACE_VERSION_MAJOR}.${ACE_VERSION_MINOR}.${ACE_VERSION_REVISION}-${ACE_VERSION_BUILD})
|
||||||
|
|
||||||
configure_file(
|
configure_file(
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/common/ace_version.hpp.in"
|
"${CMAKE_CURRENT_SOURCE_DIR}/common/ace_version.hpp.in"
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/common/ace_version.hpp"
|
"${CMAKE_CURRENT_BINARY_DIR}/common/ace_version.hpp"
|
||||||
@ONLY)
|
@ONLY)
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
configure_file(
|
configure_file(
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/common/ace_version_win32.rc.in"
|
"${CMAKE_CURRENT_SOURCE_DIR}/common/ace_version_win32.rc.in"
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/common/ace_version_win32.rc"
|
"${CMAKE_CURRENT_BINARY_DIR}/common/ace_version_win32.rc"
|
||||||
@ONLY)
|
@ONLY)
|
||||||
set(GLOBAL_RC ${CMAKE_CURRENT_BINARY_DIR}/common/ace_version_win32.rc)
|
set(GLOBAL_RC ${CMAKE_CURRENT_BINARY_DIR}/common/ace_version_win32.rc)
|
||||||
endif()
|
endif()
|
||||||
@ -139,4 +139,4 @@ endif()
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
message("Build Type: ${CMAKE_BUILD_TYPE}")
|
message("Build Type: ${CMAKE_BUILD_TYPE}")
|
||||||
|
Loading…
Reference in New Issue
Block a user