summaryrefslogtreecommitdiffhomepage
path: root/third-party/Opcode/CMakeLists.txt
blob: 6010c50f987dd1711e54e2e0180538bbb529e8d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
project(Opcode)
add_library(
	Opcode
	SHARED
	OPC_AABBCollider.cpp
	OPC_AABBTree.cpp
	OPC_BaseModel.cpp
	OPC_BoxPruning.cpp
	OPC_Collider.cpp
	OPC_Common.cpp
	OPC_HybridModel.cpp
	OPC_LSSCollider.cpp
	OPC_MeshInterface.cpp
	OPC_Model.cpp
	OPC_OBBCollider.cpp
	OPC_OptimizedTree.cpp
	OPC_Picking.cpp
	OPC_PlanesCollider.cpp
	OPC_RayCollider.cpp
	OPC_SphereCollider.cpp
	OPC_SweepAndPrune.cpp
	OPC_TreeBuilders.cpp
	OPC_TreeCollider.cpp
	OPC_VolumeCollider.cpp
	Opcode.cpp
	StdAfx.cpp
	Ice/IceAABB.cpp
	Ice/IceContainer.cpp
	Ice/IceHPoint.cpp
	Ice/IceIndexedTriangle.cpp
	Ice/IceMatrix3x3.cpp
	Ice/IceMatrix4x4.cpp
	Ice/IceOBB.cpp
	Ice/IcePlane.cpp
	Ice/IcePoint.cpp
	Ice/IceRandom.cpp
	Ice/IceRay.cpp
	Ice/IceRevisitedRadix.cpp
	Ice/IceSegment.cpp
	Ice/IceTriangle.cpp
	Ice/IceUtils.cpp
	)
target_include_directories(
	Opcode
	PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
	)
target_precompile_headers(
	Opcode
	PUBLIC StdAfx.h
	)
target_compile_definitions(
	Opcode
	PRIVATE OPCODE_EXPORTS
	PUBLIC _ALLOW_KEYWORD_MACROS
	)