Closed myd7349 closed 4 years ago
/Wpedantic
mkdir build cd build cmake .. cmake --build .
cl : Command line error D8021: invalid numeric argument '/Wpedantic' [C:\Users\vcpkg\Desktop\argtable3\build\src\argtable3.vcxproj] cl : Command line error D8021: invalid numeric argument '/Wextra' [C:\Users\vcpkg\Desktop\argtable3\build\src\argtable3.vcxproj]
bin
ARGTABLE3_INSTALL_LIBDIR
ARGTABLE3_INSTALL_INCLUDEDIR
GNUInstallDirs
CMAKE_INSTALL_LIBDIR
CMAKE_INSTALL_INCLUDEDIR
@myd7349 Thanks a lot for you pull request. I've learned some CMake tricks from you.
/Wpedantic
, 'Werror' flag:bin
on Windows CMake recommands us to install DLL files intobin
directory: https://cmake.org/cmake/help/latest/command/install.htmlARGTABLE3_INSTALL_LIBDIR
,ARGTABLE3_INSTALL_INCLUDEDIR
GNUInstallDirs
module is also available on Windows, so useCMAKE_INSTALL_LIBDIR
,CMAKE_INSTALL_INCLUDEDIR
instead.