![]() ![]() The -config option specifies the build configuration. The CMAKEGENERATORPLATFORM variable may be set, perhaps via the cmake (1) -A option, to specify a target platform name (architecture). To build Visual Studio projects from the command line for both 32-bit and 64-bit without starting a Visual Studio command prompt, use the regular Visual Studio generators.įor CMake 3.13 or newer, run the following commands: cmake -G "Visual Studio 17 2022" -A Win32 -S \path_to_source\ -B "build32"Ĭmake -G "Visual Studio 17 2022" -A 圆4 -S \path_to_source\ -B "build64"įor earlier versions of CMake, run the following commands: mkdir build32
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |