Fix setting of off-by-default cmake options
authorDavid Neto <dneto@google.com>
Wed, 9 Dec 2015 16:40:56 +0000 (11:40 -0500)
committerDavid Neto <dneto@google.com>
Thu, 10 Dec 2015 15:33:51 +0000 (10:33 -0500)
commit411de16386787c3e0326f631037402310e132071
treeafdf8122f2b0f05e87c883290e7b909ca866662f
parentf76e0f5231302e4f0ae45910f728eaa9c3c76b65
Fix setting of off-by-default cmake options

An enclosing CMake project should be able to set the
off-by-default CMake options in SPIRV-Tools by just doing:
  set(SPIRV_SKIP_EXECUTABLES ON)
instead of
  set(SPIRV_SKIP_EXECUTABLES ON CACHE BOOL "" FORCE)

Also, fix the SPIRV_WARN_EVERYTHING so it understands which options
to send to Clang vs. GCC.

Note: With SPIRV_WARN_EVERYTHING enabled, the code doesn't
compil with either Clang or GCC.
CMakeLists.txt
README.md