- - Start CMake-GUI and select OpenCL ICD Loader folder as source path,
- and the folder of your choice for VS project and intermediate build data
- - Click Generate
- - Select VS version to be used (among the one you have installed; we
- recommend using VS 2010), and architecture (32- or 64-bit)
-
-4. Open solution **OPENCL_ICD_LOADER.sln** generated in the build folder.
- Though not strictly necessary, we recommend making two changes in generated
- projects:
- - Add file **OpenCL.rc** to project OpenCL, to have version and Khronos
- copyright correctly embedded in DLL
- - In properties of OpenCL project, on "C/C++ / Code Generation" page,
- for Release configuration, change "Runtime library" to "Multi-threaded
- (/MT)", to avoid dependency on run-time DLL.
+ - Start CMake-GUI and select OpenCL ICD Loader folder as source path, and the folder of your choice for VS project and intermediate build data;
+ - Click **Generate**;
+ - Select the VS version to be used from the ones you have installed (we recommend using VS 2010) and the architecture (32- or 64-bit).
+
+4. Open solution *OPENCL_ICD_LOADER.sln* generated in the build folder.
+ Though not strictly necessary, we recommend making two changes in the generated projects:
+ - Add file *OpenCL.rc* to project OpenCL, to have version and Khronos copyright correctly embedded in DLL;
+ - Change **Runtime library** to **Multi-threaded(/MT)** in the properties of OpenCL project, on **C/C++ / Code Generation** page for Release configuration, to avoid dependency on run-time DLL.