From adb8f1fcf0172c4c4299703efea1d0744d03b5e7 Mon Sep 17 00:00:00 2001 From: Aki Date: Thu, 30 Sep 2021 10:48:15 +0200 Subject: Added Opcode to cmake tree --- Opcode/CMakeLists.txt | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 Opcode/CMakeLists.txt (limited to 'Opcode/CMakeLists.txt') diff --git a/Opcode/CMakeLists.txt b/Opcode/CMakeLists.txt new file mode 100644 index 0000000..020830f --- /dev/null +++ b/Opcode/CMakeLists.txt @@ -0,0 +1,54 @@ +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 + PRIVATE . + ) +target_precompile_headers( + Opcode + PUBLIC StdAfx.h + ) +target_compile_definitions( + Opcode + PUBLIC OPCODE_EXPORTS + ) -- cgit v1.1 From e4b65c26834cce00edfd8af15acc094aedb3cfe7 Mon Sep 17 00:00:00 2001 From: Aki Date: Thu, 30 Sep 2021 16:49:52 +0200 Subject: Hid precompiled header of Opcode --- Opcode/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Opcode/CMakeLists.txt') diff --git a/Opcode/CMakeLists.txt b/Opcode/CMakeLists.txt index 020830f..e60d33c 100644 --- a/Opcode/CMakeLists.txt +++ b/Opcode/CMakeLists.txt @@ -46,7 +46,7 @@ target_include_directories( ) target_precompile_headers( Opcode - PUBLIC StdAfx.h + PRIVATE StdAfx.h ) target_compile_definitions( Opcode -- cgit v1.1