mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 19:17:17 +08:00
d090b933e9
* [getopt-win32] ARM64 support * retrigger checks * updated git-tree sha * Specify ports that do not support ARM but were enabled by getopt-win32 adding support. * Upated SHA's * Update ports/getopt-win32/portfile.cmake Formatting indentation fix. Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com> * Formatting indentation fix. * Update version database * [getopt-win32] Use CMake * Updating versions Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com> Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
12 lines
239 B
CMake
12 lines
239 B
CMake
cmake_minimum_required(VERSION 3.14)
|
|
|
|
project(getopt-win32 C)
|
|
|
|
if(BUILD_SHARED_LIBS)
|
|
add_definitions(-DEXPORTS_GETOPT)
|
|
else()
|
|
add_definitions(-DSTATIC_GETOPT)
|
|
endif()
|
|
add_library(getopt getopt.c)
|
|
install(TARGETS getopt)
|