file(GLOB ROOT_SOURCE *.cpp)
file(GLOB ROOT_INLINE *.inl)
file(GLOB ROOT_HEADER *.hpp)
file(GLOB ROOT_TEXT ../*.txt)
file(GLOB ROOT_MD ../*.md)
file(GLOB ROOT_NAT ../util/glm.natvis)
file(GLOB_RECURSE CORE_SOURCE ./detail/*.cpp)
file(GLOB_RECURSE CORE_INLINE ./detail/*.inl)
file(GLOB_RECURSE CORE_HEADER ./detail/*.hpp)
file(GLOB_RECURSE EXT_SOURCE ./ext/*.cpp)
file(GLOB_RECURSE EXT_INLINE ./ext/*.inl)
file(GLOB_RECURSE EXT_HEADER ./ext/*.hpp)
file(GLOB_RECURSE GTC_SOURCE ./gtc/*.cpp)
file(GLOB_RECURSE GTC_INLINE ./gtc/*.inl)
file(GLOB_RECURSE GTC_HEADER ./gtc/*.hpp)
file(GLOB_RECURSE GTX_SOURCE ./gtx/*.cpp)
file(GLOB_RECURSE GTX_INLINE ./gtx/*.inl)
file(GLOB_RECURSE GTX_HEADER ./gtx/*.hpp)
file(GLOB_RECURSE SIMD_SOURCE ./simd/*.cpp)
file(GLOB_RECURSE SIMD_INLINE ./simd/*.inl)
file(GLOB_RECURSE SIMD_HEADER ./simd/*.h)
source_group("Text Files" FILES ${ROOT_TEXT} ${ROOT_MD})
source_group("Core Files" FILES ${CORE_SOURCE})
source_group("Core Files" FILES ${CORE_INLINE})
source_group("Core Files" FILES ${CORE_HEADER})
source_group("EXT Files" FILES ${EXT_SOURCE})
source_group("EXT Files" FILES ${EXT_INLINE})
source_group("EXT Files" FILES ${EXT_HEADER})
source_group("GTC Files" FILES ${GTC_SOURCE})
source_group("GTC Files" FILES ${GTC_INLINE})
source_group("GTC Files" FILES ${GTC_HEADER})
source_group("GTX Files" FILES ${GTX_SOURCE})
source_group("GTX Files" FILES ${GTX_INLINE})
source_group("GTX Files" FILES ${GTX_HEADER})
source_group("SIMD Files" FILES ${SIMD_SOURCE})
source_group("SIMD Files" FILES ${SIMD_INLINE})
source_group("SIMD Files" FILES ${SIMD_HEADER})
add_library(glm INTERFACE)
include(GNUInstallDirs)
target_include_directories(glm INTERFACE
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
)
install(TARGETS glm EXPORT glm)
if(BUILD_STATIC_LIBS)
add_library(glm_static STATIC ${ROOT_TEXT} ${ROOT_MD} ${ROOT_NAT}
${ROOT_SOURCE} ${ROOT_INLINE} ${ROOT_HEADER}
${CORE_SOURCE} ${CORE_INLINE} ${CORE_HEADER}
${EXT_SOURCE} ${EXT_INLINE} ${EXT_HEADER}
${GTC_SOURCE} ${GTC_INLINE} ${GTC_HEADER}
${GTX_SOURCE} ${GTX_INLINE} ${GTX_HEADER}
${SIMD_SOURCE} ${SIMD_INLINE} ${SIMD_HEADER})
target_link_libraries(glm_static PUBLIC glm)
add_library(glm::glm_static ALIAS glm_static)
endif()
if(BUILD_SHARED_LIBS)
add_library(glm_shared SHARED ${ROOT_TEXT} ${ROOT_MD} ${ROOT_NAT}
${ROOT_SOURCE} ${ROOT_INLINE} ${ROOT_HEADER}
${CORE_SOURCE} ${CORE_INLINE} ${CORE_HEADER}
${EXT_SOURCE} ${EXT_INLINE} ${EXT_HEADER}
${GTC_SOURCE} ${GTC_INLINE} ${GTC_HEADER}
${GTX_SOURCE} ${GTX_INLINE} ${GTX_HEADER}
${SIMD_SOURCE} ${SIMD_INLINE} ${SIMD_HEADER})
target_link_libraries(glm_shared PUBLIC glm)
add_library(glm::glm_shared ALIAS glm_shared)
endif()
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
gml库源码,下载源码,加入qt项目,既可以使用gml GLM.本例是demo (434个子文件)
glm.cpp 8KB
main.cpp 607B
mainwindow.cpp 221B
matrix.h 39KB
platform.h 13KB
common.h 7KB
neon.h 5KB
geometric.h 4KB
integer.h 4KB
exponential.h 377B
mainwindow.h 323B
vector_relational.h 139B
trigonometric.h 136B
packing.h 129B
vec_swizzle.hpp 75KB
type_aligned.hpp 66KB
type_precision.hpp 63KB
_swizzle.hpp 47KB
fwd.hpp 44KB
setup.hpp 40KB
packing.hpp 35KB
_swizzle_func.hpp 34KB
type_aligned.hpp 33KB
matrix_clip_space.hpp 29KB
common.hpp 27KB
type_vec4.hpp 22KB
type_vec3.hpp 17KB
type_vec2.hpp 15KB
compatibility.hpp 15KB
matrix_integer.hpp 12KB
_features.hpp 11KB
type_vec1.hpp 11KB
packing.hpp 11KB
trigonometric.hpp 10KB
euler_angles.hpp 10KB
integer.hpp 10KB
vector_common.hpp 10KB
bitfield.hpp 10KB
qualifier.hpp 9KB
dual_quaternion.hpp 9KB
ext.hpp 8KB
matrix_projection.hpp 8KB
associated_min_max.hpp 7KB
matrix_transform.hpp 7KB
io.hpp 7KB
easing.hpp 7KB
type_mat4x4.hpp 7KB
type_ptr.hpp 7KB
matrix_relational.hpp 7KB
type_mat3x3.hpp 6KB
vector_relational.hpp 6KB
type_mat2x2.hpp 6KB
type_quat.hpp 6KB
scalar_common.hpp 6KB
type_mat4x3.hpp 6KB
pca.hpp 6KB
matrix.hpp 6KB
exponential.hpp 5KB
type_mat3x4.hpp 5KB
type_mat4x2.hpp 5KB
vector_integer.hpp 5KB
quaternion.hpp 5KB
type_mat3x2.hpp 5KB
type_mat2x4.hpp 5KB
geometric.hpp 5KB
_vectorize.hpp 5KB
type_mat2x3.hpp 5KB
round.hpp 5KB
ulp.hpp 5KB
quaternion_common.hpp 5KB
quaternion.hpp 4KB
_matrix_vectorize.hpp 4KB
vector_relational.hpp 4KB
glm.hpp 4KB
matrix_integer.hpp 4KB
constants.hpp 4KB
vector_ulp.hpp 4KB
matrix_major_storage.hpp 4KB
hash.hpp 4KB
rotate_vector.hpp 4KB
extended_min_max.hpp 3KB
vector_reciprocal.hpp 3KB
scalar_reciprocal.hpp 3KB
transform2.hpp 3KB
intersect.hpp 3KB
fast_square_root.hpp 3KB
fast_exponential.hpp 3KB
common.hpp 3KB
matrix_operation.hpp 3KB
bit.hpp 3KB
matrix_double4x4_precision.hpp 3KB
matrix_double2x2_precision.hpp 3KB
matrix_double3x3_precision.hpp 3KB
matrix_float3x3_precision.hpp 3KB
matrix_float4x4_precision.hpp 3KB
matrix_float2x2_precision.hpp 3KB
matrix_factorisation.hpp 3KB
matrix_query.hpp 3KB
norm.hpp 3KB
scalar_integer.hpp 3KB
共 434 条
- 1
- 2
- 3
- 4
- 5
资源评论
flowerspring
- 粉丝: 277
- 资源: 19
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功