【发布时间】:2011-08-18 13:33:05
【问题描述】:
我最近开始使用 CMake。 它是一种非常简单的脚本语言,但有很多技巧需要学习,cmake 网站上的教程帮助不大。
基本上我想构建我的项目
- Windows(使用 Visual Studio 2010)x86 和 x64
- Mac os(使用 Xcode 4)x86 和 x64
取决于操作系统和平台,我想链接某些库。
我发现对于 Windows,我可以使用 WIN32 或 WIN64 进行设置。 但是我找不到mac os的等价物。 有人能指出我正确的方向吗?
【问题讨论】:
-
“Windows(使用 Visual Studio 2010)x86 和 x64” - Clang 也可用于 Windows VS 工具链。见Getting Started with the LLVM System using Microsoft Visual Studio。
标签: visual-studio-2010 xcode4 cmake