It always passed after first test due to lack of CACHE in unset()
call. Also:
- Fix flag name in error message.
- Use actual flag instead of hard coded -std=c++11
Change-Id: I29c0dc4fd0f5ce97f658919a5739e15831a00281
- Split sources from targets. Source files are stored in list variables,
and targets now use the list vars.
- Surface all build settings control in CMakeLists.txt.
- Remove individual C++11 tests in favor of requiring support
for --std=c++11.
- Improve organization; stop reopening the same if's.
Change-Id: I1989803fdfd9c032f417a5fc12985671455148bd
Output the flag being checked before checking the flag to make it easier
to determine exactly which check failed.
Change-Id: I692f5287f985acb4a3061dd54f7c5a8729def83b
- The flag change here is supposed to target only MSVC builds,
and not all Windows builds.
- Style tweak to match other CMake files.
Change-Id: I664705e13d810e2d41422eae655b5a68ff244308
- These files facilitate project/makefile generation.
- Remove old Visual Studio projects.
- Rename Makefile to Makefile.unix.
Change-Id: If786edd75d44c462538526c286eccc5cbf15d828