Re: [CMake] howto retrigger check_function_exists

2016-08-18 Thread David Cole via CMake
The code is not meant to be called. The "require += info_size" line is to keep compiler optimizations from stripping out the info_size string variable from the final executable. This code is simply built, and then the resulting binary is scanned for the string "INFO:size[],key[]" and then

Re: [CMake] howto retrigger check_function_exists

2016-08-18 Thread J Decker
I don't understand how this works info_size[1] will return 'N' how will it know it has to pass like 14 arguments to get the right character? And even then the character '4' is not the value 4. - this is the code generated for check_type_size #include #include #include #include

[CMake] howto retrigger check_function_exists

2016-08-18 Thread J Decker
I was trying to add some libraries for CMAKE_REQUIRED_LIBRARIES to be able to find more symbols, but changing that didn't cause the check_function-0exists to re-run; is there a shorter way to get it to re-run without deleting CMakeCache.txt? I'm not abject to manually editing files; I had tried to