{"action":"created","issue":{"url":"https://api.github.com/repos/alanxz/SimpleAmqpClient/issues/106","labels_url":"https://api.github.com/repos/alanxz/SimpleAmqpClient/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/alanxz/SimpleAmqpClient/issues/106/comments","events_url":"https://api.github.com/repos/alanxz/SimpleAmqpClient/issues/106/events","html_url":"https://github.com/alanxz/SimpleAmqpClient/issues/106","id":102223069,"number":106,"title":"CMake results for Visual Studios error / enhancement","user":{"login":"stevehickman","id":6638328,"avatar_url":"https://avatars.githubusercontent.com/u/6638328?v=3","gravatar_id":"","url":"https://api.github.com/users/stevehickman","html_url":"https://github.com/stevehickman","followers_url":"https://api.github.com/users/stevehickman/followers","following_url":"https://api.github.com/users/stevehickman/following{/other_user}","gists_url":"https://api.github.com/users/stevehickman/gists{/gist_id}","starred_url":"https://api.github.com/users/stevehickman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevehickman/subscriptions","organizations_url":"https://api.github.com/users/stevehickman/orgs","repos_url":"https://api.github.com/users/stevehickman/repos","events_url":"https://api.github.com/users/stevehickman/events{/privacy}","received_events_url":"https://api.github.com/users/stevehickman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-20T19:56:14Z","updated_at":"2015-08-20T20:17:30Z","closed_at":null,"body":"CMake generated SimpleAmqpClient project for Visual Studio 2012 prefixes the rabbitmq-c include directory with the directory where the SimpleAmqpClient source is. In addition, if CMake is given the rabbit-c include directory as an environment variable, it should be converted from %env_var% to $(env_var)\r\n\r\nAlso, the boost and rabbitmq-c libraries specified to the linker are fully qualified. A better approach would be to specify link directories to look in.  For example, 'Additional Library Directories' could be:\r\n$(RABBITMQ_CLIENT_HOME)/lib;$(BOOST_LIB)/lib$(PlatformArchitecture)-msvc-$(CrtSDKReferenceVersion);%(AdditionalLibraryDirectories)\r\n\r\nNote that in '/lib$(PlatformArchitecture)-msvc-$(CrtSDKReferenceVersion);%(AdditionalLibraryDirectories)'  $(PlatformArchitecture) will be either 32 or 64 and $(CrtSDKReferenceVersion) will specify the current version of Visual Studio. These will get interpreted properly automatically."},"comment":{"url":"https://api.github.com/repos/alanxz/SimpleAmqpClient/issues/comments/133158840","html_url":"https://github.com/alanxz/SimpleAmqpClient/issues/106#issuecomment-133158840","issue_url":"https://api.github.com/repos/alanxz/SimpleAmqpClient/issues/106","id":133158840,"user":{"login":"stevehickman","id":6638328,"avatar_url":"https://avatars.githubusercontent.com/u/6638328?v=3","gravatar_id":"","url":"https://api.github.com/users/stevehickman","html_url":"https://github.com/stevehickman","followers_url":"https://api.github.com/users/stevehickman/followers","following_url":"https://api.github.com/users/stevehickman/following{/other_user}","gists_url":"https://api.github.com/users/stevehickman/gists{/gist_id}","starred_url":"https://api.github.com/users/stevehickman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevehickman/subscriptions","organizations_url":"https://api.github.com/users/stevehickman/orgs","repos_url":"https://api.github.com/users/stevehickman/repos","events_url":"https://api.github.com/users/stevehickman/events{/privacy}","received_events_url":"https://api.github.com/users/stevehickman/received_events","type":"User","site_admin":false},"created_at":"2015-08-20T20:17:30Z","updated_at":"2015-08-20T20:17:30Z","body":"the test_api project has the same issue"}}