2023-12-23 16:52:06 +08:00
if ( NOT VCPKG_TARGET_IS_IOS AND NOT VCPKG_TARGET_IS_OSX AND NOT VCPKG_TARGET_IS_WINDOWS )
2019-11-02 04:54:48 +08:00
message ( "${PORT} currently requires the following library from the system package manager:\n Xaw\n\nIt can be installed on Ubuntu systems via apt-get install libxaw7-dev" )
endif ( )
vcpkg_from_github (
O U T _ S O U R C E _ P A T H S O U R C E _ P A T H
R E P O O G R E C a v e / o g r e - n e x t
2023-09-29 14:13:40 +08:00
R E F v $ { V E R S I O N }
2023-12-06 04:23:44 +08:00
S H A 5 1 2 5 2 e d 2 d 2 a 3 3 7 5 c 0 d 3 5 f 0 d c 6 9 5 b 9 8 6 5 1 4 4 8 4 a d 1 d 4 7 9 6 6 c 5 c 1 8 3 5 1 d 3 b 0 9 9 1 3 1 2 3 b 2 4 8 7 b 9 7 2 9 7 3 8 c 6 b 8 b 1 2 1 9 c 1 a 9 9 2 a 8 c 8 5 0 9 a 2 3 0 3 e 0 9 7 a 6 e b 2 6 4 9 7 e 1 5 2 a 1 4 d 4 8 8 3 0
2019-11-02 04:54:48 +08:00
H E A D _ R E F m a s t e r
P A T C H E S
t o o l c h a i n _ f i x e s . p a t c h
2023-08-31 04:44:54 +08:00
a v o i d - n a m e - c l a s h e s . p a t c h
2023-10-18 05:57:01 +08:00
f i x - d e p e n d e n c i e s . p a t c h
2019-11-02 04:54:48 +08:00
)
2023-12-23 16:52:06 +08:00
file ( REMOVE
" $ { S O U R C E _ P A T H } / C M a k e / P a c k a g e s / F i n d F r e e I m a g e . c m a k e "
" $ { S O U R C E _ P A T H } / C M a k e / P a c k a g e s / F i n d F r e e t y p e . c m a k e "
" $ { S O U R C E _ P A T H } / C M a k e / P a c k a g e s / F i n d R a p i d j s o n . c m a k e "
" $ { S O U R C E _ P A T H } / C M a k e / P a c k a g e s / F i n d V u l k a n . c m a k e "
" $ { S O U R C E _ P A T H } / C M a k e / P a c k a g e s / F i n d Z L I B . c m a k e "
" $ { S O U R C E _ P A T H } / C M a k e / P a c k a g e s / F i n d Z Z i p . c m a k e "
)
2019-11-02 04:54:48 +08:00
2023-09-29 14:13:40 +08:00
vcpkg_check_features (
O U T _ F E A T U R E _ O P T I O N S F E A T U R E _ O P T I O N S
F E A T U R E S
2023-12-23 16:52:06 +08:00
d 3 d 1 1 O G R E _ B U I L D _ R E N D E R S Y S T E M _ D i r e c t X 1 1
d 3 d 1 1 C M A K E _ R E Q U I R E _ F I N D _ P A C K A G E _ D i r e c t X 1 1
g l 3 p l u s O G R E _ B U I L D _ R E N D E R S Y S T E M _ G L 3 P L U S
g l 3 p l u s C M A K E _ R E Q U I R E _ F I N D _ P A C K A G E _ O p e n G L
m e t a l O G R E _ B U I L D _ R E N D E R S Y S T E M _ M E T A L
2023-09-29 14:13:40 +08:00
p l a n a r - r e f l e c t i o n s O G R E _ B U I L D _ C O M P O N E N T _ P L A N A R _ R E F L E C T I O N S
2023-12-23 16:52:06 +08:00
v u l k a n O G R E _ B U I L D _ R E N D E R S Y S T E M _ V U L K A N
v u l k a n C M A K E _ R E Q U I R E _ F I N D _ P A C K A G E _ V u l k a n
2023-09-29 14:13:40 +08:00
)
2023-12-23 16:52:06 +08:00
string ( COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" OGRE_STATIC )
vcpkg_find_acquire_program ( PKGCONFIG )
2022-04-01 01:58:32 +08:00
vcpkg_cmake_configure (
S O U R C E _ P A T H " $ { S O U R C E _ P A T H } "
2019-11-02 04:54:48 +08:00
O P T I O N S
2022-04-01 01:58:32 +08:00
$ { F E A T U R E _ O P T I O N S }
2023-12-23 16:52:06 +08:00
- D C M A K E _ C X X _ S T A N D A R D = 1 1
- D C M A K E _ D I S A B L E _ F I N D _ P A C K A G E _ A M D A G S = O N
- D C M A K E _ D I S A B L E _ F I N D _ P A C K A G E _ C p p U n i t = O N
- D C M A K E _ D I S A B L E _ F I N D _ P A C K A G E _ D o x y g e n = O N
- D C M A K E _ D I S A B L E _ F I N D _ P A C K A G E _ G L S L O p t i m i z e r = O N
- D C M A K E _ D I S A B L E _ F I N D _ P A C K A G E _ H L S L 2 G L S L = O N
- D C M A K E _ D I S A B L E _ F I N D _ P A C K A G E _ O p e n V R = O N
- D C M A K E _ D I S A B L E _ F I N D _ P A C K A G E _ P O C O = O N
- D C M A K E _ D I S A B L E _ F I N D _ P A C K A G E _ R e m o t e r y = O N
- D C M A K E _ D I S A B L E _ F I N D _ P A C K A G E _ R e n d e r D o c = O N
- D C M A K E _ D I S A B L E _ F I N D _ P A C K A G E _ S D L 2 = O N
- D C M A K E _ D I S A B L E _ F I N D _ P A C K A G E _ S o f t i m a g e = O N
- D C M A K E _ D I S A B L E _ F I N D _ P A C K A G E _ T B B = O N
- D C M A K E _ P O L I C Y _ D E F A U L T _ C M P 0 0 7 2 = N E W # Prefer GLVND
- D O G R E _ A R C H I V E _ O U T P U T = l i b
- D O G R E _ L I B R A R Y _ O U T P U T = l i b
2023-12-06 04:23:44 +08:00
- D O G R E _ B U I L D _ L I B S _ A S _ F R A M E W O R K S = O F F
2023-12-23 16:52:06 +08:00
- D O G R E _ B U I L D _ M S V C _ M P = O N
- D O G R E _ B U I L D _ M S V C _ Z M = O N
- D O G R E _ B U I L D _ R E N D E R S Y S T E M _ G L E S = O F F
- D O G R E _ B U I L D _ R E N D E R S Y S T E M _ G L E S 2 = O F F
2023-08-31 04:44:54 +08:00
- D O G R E _ B U I L D _ S A M P L E S 2 = O F F
2019-11-02 04:54:48 +08:00
- D O G R E _ B U I L D _ T E S T S = O F F
- D O G R E _ B U I L D _ T O O L S = O F F
2023-12-23 16:52:06 +08:00
- D O G R E _ C O P Y _ D E P E N D E N C I E S = O F F
2019-11-02 04:54:48 +08:00
- D O G R E _ I N S T A L L _ D E P E N D E N C I E S = O F F
- D O G R E _ I N S T A L L _ D O C S = O F F
- D O G R E _ I N S T A L L _ P D B = O F F
- D O G R E _ I N S T A L L _ S A M P L E S = O F F
- D O G R E _ I N S T A L L _ T O O L S = O F F
- D O G R E _ I N S T A L L _ V S P R O P S = O F F
2023-12-23 16:52:06 +08:00
- D O G R E _ S K I P _ B O O S T _ S E A R C H I N G = O N
2019-11-02 04:54:48 +08:00
- D O G R E _ S T A T I C = $ { O G R E _ S T A T I C }
2023-11-07 02:36:32 +08:00
- D O G R E _ U S E _ N E W _ P R O J E C T _ N A M E = O N
2023-12-23 16:52:06 +08:00
" - D P K G _ C O N F I G _ E X E C U T A B L E = $ { P K G C O N F I G } "
M A Y B E _ U N U S E D _ V A R I A B L E S
C M A K E _ D I S A B L E _ F I N D _ P A C K A G E _ A M D A G S
C M A K E _ R E Q U I R E _ F I N D _ P A C K A G E _ D i r e c t X 1 1
O G R E _ B U I L D _ M S V C _ M P
O G R E _ B U I L D _ M S V C _ Z M
O G R E _ B U I L D _ R E N D E R S Y S T E M _ D i r e c t X 1 1
O G R E _ C O P Y _ D E P E N D E N C I E S
O G R E _ I N S T A L L _ D E P E N D E N C I E S
O G R E _ I N S T A L L _ V S P R O P S
2019-11-02 04:54:48 +08:00
)
2022-04-01 01:58:32 +08:00
vcpkg_cmake_install ( )
vcpkg_copy_pdbs ( )
2023-12-23 16:52:06 +08:00
if ( NOT VCPKG_TARGET_IS_WINDOWS OR VCPKG_TARGET_IS_MINGW )
vcpkg_fixup_pkgconfig ( )
2019-11-02 04:54:48 +08:00
endif ( )
2022-04-01 01:58:32 +08:00
file ( REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" )
file ( REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share" )
2023-09-29 14:13:40 +08:00
2023-12-23 16:52:06 +08:00
vcpkg_install_copyright ( FILE_LIST "${SOURCE_PATH}/COPYING" )