Hey All,<div><br></div><div>First off I'm loving cmake, This thing makes my life so easy. Thank you!</div><div><br></div><div>I'm working on porting some code to Windows at the moment. I'm putting in configure checks for stdint.h and it's types. The strange thing is that finding the header works, but then finding the type fails.</div>
<div><br></div><div>check_include_file(stdint.h HAVE_STDINT_H) - works</div><div>check_type_size(int8_t HAVE_int8_t) - fails</div><div>check_symbol_exists(int8_t stdint.h HAVE_int8_t) - fails</div><div><br></div><div>I'm looking at stdint.h in C:\Program Files (x86)\Microsoft Visual Studio 11\VC\include\stdint.h and it clearly defines int8_t:</div>
<div><br></div><div>typedef signed char int8_t;</div><div><br></div><div>I've also tried running cmake-gui from the commandline and first setting:</div><div>>set CMAKE_INCLUDE_PATH=C:\Program Files (x86)\Microsoft Visual Studio 11\VC\include\</div>
<div>>cmake-gui</div><div><br></div><div>What am I missing? Windows is certainly strange but there has to be a way to get cmake finding it correctly.</div><div><br></div><div>Any ideas?</div><div><br></div><div>Thanks!</div>
<div><br></div>