2020-12-02 05:37:26 +08:00
# vcpkg_configure_qmake
2021-03-11 01:56:07 +08:00
The latest version of this document lives in the [vcpkg repo ](https://github.com/Microsoft/vcpkg/blob/master/docs/maintainers/vcpkg_configure_qmake.md ).
2021-03-01 05:17:19 +08:00
2020-12-02 05:37:26 +08:00
Configure a qmake-based project.
```cmake
vcpkg_configure_qmake(
SOURCE_PATH < pro_file_path >
[OPTIONS arg1 [arg2 ...]]
[OPTIONS_RELEASE arg1 [arg2 ...]]
[OPTIONS_DEBUG arg1 [arg2 ...]]
2021-11-06 07:55:23 +08:00
[BUILD_OPTIONS arg1 [arg2 ...]]
[BUILD_OPTIONS_RELEASE arg1 [arg2 ...]]
[BUILD_OPTIONS_DEBUG arg1 [arg2 ...]]
2020-12-02 05:37:26 +08:00
)
```
### SOURCE_PATH
The path to the *.pro qmake project file.
### OPTIONS, OPTIONS\_RELEASE, OPTIONS\_DEBUG
2021-11-06 07:55:23 +08:00
The options passed to qmake to the configure step.
### BUILD\_OPTIONS, BUILD\_OPTIONS\_RELEASE, BUILD\_OPTIONS\_DEBUG
The options passed to qmake to the build step.
2020-12-02 05:37:26 +08:00
## Source
2021-03-01 05:17:19 +08:00
[scripts/cmake/vcpkg\_configure\_qmake.cmake ](https://github.com/Microsoft/vcpkg/blob/master/scripts/cmake/vcpkg_configure_qmake.cmake )