> > > I even would prefer to not hardcode the SDK but I was unable to list key > entries from the registry. > > > > Usually all installed SDKs are listed as subkeys of > HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows CE Tools\\SDKs > in this case it is SDK_AM335X_SK_WEC2013_V310. > > > > I think the test would be nicer if it checks for available SDKs and just > > picks > the first. > > > > Any ideas how to do this? > > Within a block guarded by if(CMAKE_HOST_WIN32) you could > use execute_process to run the "reg" command-line tool. >
Am I right that when using the reg tool I need to include the Wow6432Node again? Pascal -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers