Spec-Zone.ru › CMake 3.22

UsewxWidgets

Удобный включаемый модуль для использования библиотеки wxWidgets.

Определяет, была ли найдена библиотека wxWidgets, и устанавливает соответствующие libs, incdirs, флаги и т. д. Вызываются INCLUDE_DIRECTORIES и LINK_DIRECTORIES.

Использование

# Note that for MinGW users the order of libs is important!
find_package(wxWidgets REQUIRED net gl core base)
include(${wxWidgets_USE_FILE})
# and for each of your dependent executable/library targets:
target_link_libraries(<YourTarget> ${wxWidgets_LIBRARIES})

УСТАРЕЛО

LINK_LIBRARIES is not called in favor of adding dependencies per target.

АВТОР

Jan Woetzel <jw -at- mip.informatik.uni-kiel.de>

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.22/module/UsewxWidgets.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API