{"action":"opened","issue":{"url":"https://api.github.com/repos/JamesTCurran/GNSS-Metadata-Standard/issues/1","labels_url":"https://api.github.com/repos/JamesTCurran/GNSS-Metadata-Standard/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/JamesTCurran/GNSS-Metadata-Standard/issues/1/comments","events_url":"https://api.github.com/repos/JamesTCurran/GNSS-Metadata-Standard/issues/1/events","html_url":"https://github.com/JamesTCurran/GNSS-Metadata-Standard/issues/1","id":124554556,"number":1,"title":"Use cmake to manage builds","user":{"login":"odrisci","id":7521681,"avatar_url":"https://avatars.githubusercontent.com/u/7521681?v=3","gravatar_id":"","url":"https://api.github.com/users/odrisci","html_url":"https://github.com/odrisci","followers_url":"https://api.github.com/users/odrisci/followers","following_url":"https://api.github.com/users/odrisci/following{/other_user}","gists_url":"https://api.github.com/users/odrisci/gists{/gist_id}","starred_url":"https://api.github.com/users/odrisci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odrisci/subscriptions","organizations_url":"https://api.github.com/users/odrisci/orgs","repos_url":"https://api.github.com/users/odrisci/repos","events_url":"https://api.github.com/users/odrisci/events{/privacy}","received_events_url":"https://api.github.com/users/odrisci/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-01T18:17:44Z","updated_at":"2016-01-01T18:17:44Z","closed_at":null,"body":"It might be useful to use the [cmake](http://cmake.org) utility to manage builds. The advantage of this is that we could eliminate all the ``ide`` folders as cmake would manage the auto-generation and update of all the IDE project files. Thus one set of files could be used to manage the build for Linux, Windows and Mac OS X, under a variety of different build environments (Makefiles, Visual Studio, XCode, Code Blocks, Eclipse, etc).\r\n\r\nI've created a first simple demonstration of this [here](/odrisci/GNSS-Metadata-Standard/tree/cmake). I've successfully tested this on Ubuntu 15.04 using Unix Makefiles, Windows 10 using Visual Studio 2015 Community Edition and Mac OS X 10.10 Yosemite using both Unix Makefiles and XCode.\r\n\r\nI'm not sure how well the current version works with earlier versions of Windows, as the Windows 10 SDK introduced a definition of the ``timespec`` struct, which meant that I had to update the file ``API/source/inc/GnssMetadata/Date.h``. This fix might not work for earlier versions of the Windows SDK."}}