Skip to content

Commit ae80ded

Browse files
committed
Update PhysX_4.1.1.27006925
1 parent 4050bbf commit ae80ded

File tree

734 files changed

+34973
-6585
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

734 files changed

+34973
-6585
lines changed

externals/cg-linux/bin/cgc

10.4 MB
Binary file not shown.

externals/cg-linux/bin/cgfxcat

131 KB
Binary file not shown.

externals/cg-linux/bin/cginfo

64.6 KB
Binary file not shown.
+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
set(PACKAGE_VERSION "3.1.0013")
2+
3+
if("3.1.0013" MATCHES "^([0-9]+\\.[0-9]+\\.[0-9]+)\\.") # strip the tweak version
4+
set(CVF_VERSION_NO_TWEAK "${CMAKE_MATCH_1}")
5+
else()
6+
set(CVF_VERSION_NO_TWEAK "3.1.0013")
7+
endif()
8+
9+
if(PACKAGE_FIND_VERSION MATCHES "^([0-9]+\\.[0-9]+\\.[0-9]+)\\.") # strip the tweak version
10+
set(REQUESTED_VERSION_NO_TWEAK "${CMAKE_MATCH_1}")
11+
else()
12+
set(REQUESTED_VERSION_NO_TWEAK "${PACKAGE_FIND_VERSION}")
13+
endif()
14+
15+
if(REQUESTED_VERSION_NO_TWEAK STREQUAL CVF_VERSION_NO_TWEAK)
16+
set(PACKAGE_VERSION_COMPATIBLE TRUE)
17+
else()
18+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
19+
endif()
20+
21+
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
22+
set(PACKAGE_VERSION_EXACT TRUE)
23+
endif()
24+

externals/cg-linux/cg-config.cmake

+105
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.5)
2+
message(FATAL_ERROR "CMake >= 2.6.0 required")
3+
endif()
4+
cmake_policy(PUSH)
5+
cmake_policy(VERSION 2.6)
6+
7+
8+
# Commands may need to know the format version.
9+
set(CMAKE_IMPORT_FILE_VERSION 1)
10+
11+
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
12+
set(_targetsDefined)
13+
set(_targetsNotDefined)
14+
set(_expectedTargets)
15+
foreach(_expectedTarget Cg CgGL)
16+
list(APPEND _expectedTargets ${_expectedTarget})
17+
if(NOT TARGET ${_expectedTarget})
18+
list(APPEND _targetsNotDefined ${_expectedTarget})
19+
endif()
20+
if(TARGET ${_expectedTarget})
21+
list(APPEND _targetsDefined ${_expectedTarget})
22+
endif()
23+
endforeach()
24+
if("${_targetsDefined}" STREQUAL "${_expectedTargets}")
25+
unset(_targetsDefined)
26+
unset(_targetsNotDefined)
27+
unset(_expectedTargets)
28+
set(CMAKE_IMPORT_FILE_VERSION)
29+
cmake_policy(POP)
30+
return()
31+
endif()
32+
if(NOT "${_targetsDefined}" STREQUAL "")
33+
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_targetsDefined}\nTargets not yet defined: ${_targetsNotDefined}\n")
34+
endif()
35+
unset(_targetsDefined)
36+
unset(_targetsNotDefined)
37+
unset(_expectedTargets)
38+
39+
# Compute the installation prefix relative to this file.
40+
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
41+
if(_IMPORT_PREFIX STREQUAL "/")
42+
set(_IMPORT_PREFIX "")
43+
endif()
44+
45+
# Create imported target Cg
46+
add_library(Cg STATIC IMPORTED)
47+
add_library(CgGL STATIC IMPORTED)
48+
49+
set_target_properties(Cg PROPERTIES
50+
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include;${_IMPORT_PREFIX}/include/Cg"
51+
)
52+
53+
# Import target "Cg" for configuration "debug"
54+
set_property(TARGET Cg APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG)
55+
set_target_properties(Cg PROPERTIES
56+
IMPORTED_LINK_INTERFACE_LANGUAGES "CXX"
57+
IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/lib/libCg.so"
58+
)
59+
60+
list(APPEND _IMPORT_CHECK_TARGETS Cg )
61+
#list(APPEND _IMPORT_CHECK_FILES_FOR_Cg "${_IMPORT_PREFIX}/lib/libCg.a")
62+
63+
set_target_properties(CgGL PROPERTIES
64+
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include;${_IMPORT_PREFIX}/include/Cg"
65+
)
66+
67+
# Import target "CgGL" for configuration "debug"
68+
set_property(TARGET CgGL APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG)
69+
set_target_properties(CgGL PROPERTIES
70+
IMPORTED_LINK_INTERFACE_LANGUAGES "CXX"
71+
IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/lib/libCgGL.so"
72+
)
73+
74+
list(APPEND _IMPORT_CHECK_TARGETS CgGL )
75+
76+
77+
78+
# Cleanup temporary variables.
79+
set(_IMPORT_PREFIX)
80+
81+
# Loop over all imported files and verify that they actually exist
82+
foreach(target ${_IMPORT_CHECK_TARGETS} )
83+
foreach(file ${_IMPORT_CHECK_FILES_FOR_${target}} )
84+
if(NOT EXISTS "${file}" )
85+
message(FATAL_ERROR "The imported target \"${target}\" references the file
86+
\"${file}\"
87+
but this file does not exist. Possible reasons include:
88+
* The file was deleted, renamed, or moved to another location.
89+
* An install or uninstall procedure did not complete successfully.
90+
* The installation package was faulty and contained
91+
\"${CMAKE_CURRENT_LIST_FILE}\"
92+
but not all the files it references.
93+
")
94+
endif()
95+
endforeach()
96+
unset(_IMPORT_CHECK_FILES_FOR_${target})
97+
endforeach()
98+
unset(_IMPORT_CHECK_TARGETS)
99+
100+
# This file does not depend on other imported targets which have
101+
# been exported from the same project but in a separate export set.
102+
103+
# Commands beyond this point should not need to know the version.
104+
set(CMAKE_IMPORT_FILE_VERSION)
105+
cmake_policy(POP)

0 commit comments

Comments
 (0)