Skip to content
GitLab
Explorer
Connexion
Navigation principale
Rechercher ou aller à…
Projet
Aegisub
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Wiki
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Extraits de code
Déploiement
Releases
Registre de paquets
Registre de conteneur
Registre de modèles
Opération
Modules Terraform
Surveillance
Incidents
Analyse
Données d'analyse des chaînes de valeur
Analyse des contributeurs
Données d'analyse du dépôt
Expériences du modèle
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Ce projet est archivé. Le dépôt et les autres ressources du projet sont en lecture seule.
Afficher davantage de fils d'Ariane
Kubat
Aegisub
Validations
fba8529d
Valider
fba8529d
rédigé
4 years ago
par
Ryan Lucia
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
meson: remove old wx_path and icu_path hacks
parent
34ae282d
Aucune branche associée trouvée
Branches contenant la validation
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Modifications
2
Masquer les modifications d'espaces
En ligne
Côte à côte
Affichage de
2 fichiers modifiés
meson.build
+28
-34
28 ajouts, 34 suppressions
meson.build
meson_options.txt
+0
-3
0 ajout, 3 suppressions
meson_options.txt
avec
28 ajouts
et
37 suppressions
meson.build
+
28
−
34
Voir le fichier @
fba8529d
...
@@ -107,41 +107,35 @@ wx_dep = dependency('wxWidgets', version: '>=3.0.0',
...
@@ -107,41 +107,35 @@ wx_dep = dependency('wxWidgets', version: '>=3.0.0',
if
wx_dep
.
found
()
if
wx_dep
.
found
()
deps
+=
wx_dep
deps
+=
wx_dep
else
# this will only be hit with msvc
else
if
get_option
(
'wx_path'
)
!=
''
build_shared
=
'ON'
deps_inc
+=
include_directories
(
get_option
(
'wx_path'
)
/
'include'
/
'msvc'
,
get_option
(
'wx_path'
)
/
'include'
)
if
get_option
(
'default_library'
)
==
'static'
add_project_arguments
(
'-DUNICODE'
,
'-D_UNICODE'
,
language
:
'cpp'
)
build_shared
=
'OFF'
add_project_arguments
(
'-DwxMSVC_VERSION_AUTO'
,
'-DWXUSINGDLL'
,
language
:
'cpp'
)
endif
else
buildShared
=
'ON'
wx
=
cmake
.
subproject
(
'wxWidgets'
,
cmake_options
:
[
'-DwxBUILD_INSTALL=OFF'
,
if
get_option
(
'default_library'
)
==
'static'
'-DwxBUILD_PRECOMP=OFF'
,
# otherwise breaks project generation w/ meson
buildShared
=
'OFF'
'-DwxBUILD_SHARED=@0@'
.
format
(
build_shared
),
endif
'-DwxBUILD_MONOLITHIC=ON'
])
# otherwise breaks project generation w/ meson
deps
+=
[
wx
.
dependency
(
'wxmono'
),
wx
.
dependency
(
'wxzlib'
),
wx
.
dependency
(
'wxpng'
),
wx
.
dependency
(
'wxexpat'
),
wx
.
dependency
(
'wxregex'
),
wx
.
dependency
(
'wxscintilla'
)
]
wx
=
cmake
.
subproject
(
'wxWidgets'
,
cmake_options
:
[
'-DwxBUILD_INSTALL=OFF'
,
if
host_machine
.
system
()
==
'windows'
'-DwxBUILD_PRECOMP=OFF'
,
# otherwise breaks project generation w/ meson
if
cc
.
has_header
(
'rpc.h'
)
'-DwxBUILD_SHARED=@0@'
.
format
(
buildShared
),
deps
+=
cc
.
find_library
(
'rpcrt4'
,
required
:
true
)
'-DwxBUILD_MONOLITHIC=ON'
])
# otherwise breaks project generation w/ meson
else
deps
+=
[
error
(
'Missing Windows SDK RPC Library (rpc.h / rpcrt4.lib)'
)
wx
.
dependency
(
'wxmono'
),
endif
wx
.
dependency
(
'wxzlib'
),
if
cc
.
has_header
(
'commctrl.h'
)
wx
.
dependency
(
'wxpng'
),
deps
+=
cc
.
find_library
(
'comctl32'
,
required
:
true
)
wx
.
dependency
(
'wxexpat'
),
else
wx
.
dependency
(
'wxregex'
),
error
(
'Missing Windows SDK Common Controls Library (commctrl.h / comctl32.lib)'
)
wx
.
dependency
(
'wxscintilla'
)
]
if
host_machine
.
system
()
==
'windows'
if
cc
.
has_header
(
'rpc.h'
)
deps
+=
cc
.
find_library
(
'rpcrt4'
,
required
:
true
)
else
error
(
'Missing Windows SDK RPC Library (rpc.h / rpcrt4.lib)'
)
endif
if
cc
.
has_header
(
'commctrl.h'
)
deps
+=
cc
.
find_library
(
'comctl32'
,
required
:
true
)
else
error
(
'Missing Windows SDK Common Controls Library (commctrl.h / comctl32.lib)'
)
endif
endif
endif
endif
endif
endif
endif
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
meson_options.txt
+
0
−
3
Voir le fichier @
fba8529d
...
@@ -14,9 +14,6 @@ option('uchardet', type: 'feature', description: 'uchardet character encoding de
...
@@ -14,9 +14,6 @@ option('uchardet', type: 'feature', description: 'uchardet character encoding de
option
(
'system_luajit'
,
type
:
'boolean'
,
value
:
false
,
description
:
'Force using system luajit'
)
option
(
'system_luajit'
,
type
:
'boolean'
,
value
:
false
,
description
:
'Force using system luajit'
)
option
(
'local_boost'
,
type
:
'boolean'
,
value
:
false
,
description
:
'Force using locally compiled Boost'
)
option
(
'local_boost'
,
type
:
'boolean'
,
value
:
false
,
description
:
'Force using locally compiled Boost'
)
option
(
'icu_path'
,
type
:
'string'
,
value
:
''
,
description
:
'Path to ICU libraries on Windows'
)
option
(
'wx_path'
,
type
:
'string'
,
value
:
''
,
description
:
'Path to wxWidgets libraries on Windows'
)
option
(
'credit'
,
type
:
'string'
,
value
:
''
,
description
:
'Build credit shown in program title'
)
option
(
'credit'
,
type
:
'string'
,
value
:
''
,
description
:
'Build credit shown in program title'
)
option
(
'enable_update_checker'
,
type
:
'boolean'
,
value
:
false
,
description
:
'Enable the update checker'
)
option
(
'enable_update_checker'
,
type
:
'boolean'
,
value
:
false
,
description
:
'Enable the update checker'
)
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter