Check out example codes for "Parse error. Expected a command name, got unquoted argument with text "//".". It will help you in understanding the concepts better.

Code Example 1

Solution:
CMake comments start with #, not with // !

How ?
Change any comment line starting with // to start with # instead. 
// Create main executable   --->  #Create main executable


Example error:
[email protected]:~/working_dir/bgslibrary/build$ make

-- Bulding bgslibrary_core SHARED
CMake Error at /home/prashad/test/objecttracker_gerrit/BlobTracking.h:5:
  Parse error.  Expected a command name, got unquoted argument with text
  "//".
Call Stack (most recent call first):
  CMakeLists.txt:233 (include)

Learn ReactJs, React Native from akashmittal.com