{"action":"created","issue":{"url":"https://api.github.com/repos/numenta/nupic.core/issues/519","labels_url":"https://api.github.com/repos/numenta/nupic.core/issues/519/labels{/name}","comments_url":"https://api.github.com/repos/numenta/nupic.core/issues/519/comments","events_url":"https://api.github.com/repos/numenta/nupic.core/issues/519/events","html_url":"https://github.com/numenta/nupic.core/issues/519","id":98140156,"number":519,"title":"Define expected CMake policy behaviour","user":{"login":"rcrowder","id":470969,"avatar_url":"https://avatars.githubusercontent.com/u/470969?v=3","gravatar_id":"","url":"https://api.github.com/users/rcrowder","html_url":"https://github.com/rcrowder","followers_url":"https://api.github.com/users/rcrowder/followers","following_url":"https://api.github.com/users/rcrowder/following{/other_user}","gists_url":"https://api.github.com/users/rcrowder/gists{/gist_id}","starred_url":"https://api.github.com/users/rcrowder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcrowder/subscriptions","organizations_url":"https://api.github.com/users/rcrowder/orgs","repos_url":"https://api.github.com/users/rcrowder/repos","events_url":"https://api.github.com/users/rcrowder/events{/privacy}","received_events_url":"https://api.github.com/users/rcrowder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-30T10:53:56Z","updated_at":"2015-07-31T05:47:28Z","closed_at":null,"body":"The ```src\\CMakeLists.txt``` file currently defines the minimum version of CMake required, but not how more recent CMake version changes are handled.. \r\n\r\nAs CMake has evolved it's policy change system throws out developer warnings during library building. A change to suppress the biggest reported can be to do the following in the CMakeLists file -\r\n\r\n> cmake_minimum_required(VERSION 2.8)\r\n> if ( POLICY CMP0046 )\r\n>   cmake_policy(VERSION 2.8)\r\n>   \\# The new policy for add_dependencies is to now error if a dependency target\r\n>   \\# is not found. The old policy didn't care and continued through configuration\r\n>   cmake_policy(SET CMP0046 OLD)\r\n> endif()\r\n\r\nOther warnings may exist for using quoted variables in if() statement conditionals. And for using STREQUAL to match a (depreciating?) \"MSVC\" string to the compile Id CMake variable.\r\n\r\nCMake policy information - \r\nhttp://www.cmake.org/cmake/help/v3.0/command/cmake_policy.html?highlight=cmake_policy"},"comment":{"url":"https://api.github.com/repos/numenta/nupic.core/issues/comments/126573204","html_url":"https://github.com/numenta/nupic.core/issues/519#issuecomment-126573204","issue_url":"https://api.github.com/repos/numenta/nupic.core/issues/519","id":126573204,"user":{"login":"rhyolight","id":15566,"avatar_url":"https://avatars.githubusercontent.com/u/15566?v=3","gravatar_id":"","url":"https://api.github.com/users/rhyolight","html_url":"https://github.com/rhyolight","followers_url":"https://api.github.com/users/rhyolight/followers","following_url":"https://api.github.com/users/rhyolight/following{/other_user}","gists_url":"https://api.github.com/users/rhyolight/gists{/gist_id}","starred_url":"https://api.github.com/users/rhyolight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhyolight/subscriptions","organizations_url":"https://api.github.com/users/rhyolight/orgs","repos_url":"https://api.github.com/users/rhyolight/repos","events_url":"https://api.github.com/users/rhyolight/events{/privacy}","received_events_url":"https://api.github.com/users/rhyolight/received_events","type":"User","site_admin":false},"created_at":"2015-07-31T05:47:28Z","updated_at":"2015-07-31T05:47:28Z","body":"I'm all for less warnings..."}}