{"action":"created","issue":{"url":"https://api.github.com/repos/zaphoyd/websocketpp/issues/326","labels_url":"https://api.github.com/repos/zaphoyd/websocketpp/issues/326/labels{/name}","comments_url":"https://api.github.com/repos/zaphoyd/websocketpp/issues/326/comments","events_url":"https://api.github.com/repos/zaphoyd/websocketpp/issues/326/events","html_url":"https://github.com/zaphoyd/websocketpp/issues/326","id":27797954,"number":326,"title":"Complete quoting for parameters of some CMake commands","user":{"login":"elfring","id":660477,"avatar_url":"https://avatars.githubusercontent.com/u/660477?v=3","gravatar_id":"","url":"https://api.github.com/users/elfring","html_url":"https://github.com/elfring","followers_url":"https://api.github.com/users/elfring/followers","following_url":"https://api.github.com/users/elfring/following{/other_user}","gists_url":"https://api.github.com/users/elfring/gists{/gist_id}","starred_url":"https://api.github.com/users/elfring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elfring/subscriptions","organizations_url":"https://api.github.com/users/elfring/orgs","repos_url":"https://api.github.com/users/elfring/repos","events_url":"https://api.github.com/users/elfring/events{/privacy}","received_events_url":"https://api.github.com/users/elfring/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zaphoyd/websocketpp/labels/0.3.x","name":"0.3.x","color":"e102d8"},{"url":"https://api.github.com/repos/zaphoyd/websocketpp/labels/Bug","name":"Bug","color":"e10c02"},{"url":"https://api.github.com/repos/zaphoyd/websocketpp/labels/Build%20Issues","name":"Build Issues","color":"009800"},{"url":"https://api.github.com/repos/zaphoyd/websocketpp/labels/Examples","name":"Examples","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-02-18T14:45:31Z","updated_at":"2015-03-08T08:15:47Z","closed_at":null,"body":"Some parameters (like \"[${WEBSOCKETPP_BUILD_ROOT}/bin](https://github.com/zaphoyd/websocketpp/blob/c017331959f0ddcb00e13abd8c8b024cccb699da/CMakeLists.txt#L50)\" and \"[${SUBDIR}](https://github.com/zaphoyd/websocketpp/blob/980fa8db6783a5a97d027c90bfec3d9d591ab98f/examples/CMakeLists.txt#L2)\") are passed to CMake commands in your build scripts without enclosing them by quotation marks. I see that these places will result in build difficulties if the contents of the used variables will contain special characters like spaces.\r\n\r\nI would recommend to apply [advices from a Wiki article](http://cmake.org/Wiki/CMake/Language_Syntax#CMake_splits_arguments_unless_you_use_quotation_marks_or_escapes. \"CMake splits arguments unless you use quotation marks or escapes.\")."},"comment":{"url":"https://api.github.com/repos/zaphoyd/websocketpp/issues/comments/77738468","html_url":"https://github.com/zaphoyd/websocketpp/issues/326#issuecomment-77738468","issue_url":"https://api.github.com/repos/zaphoyd/websocketpp/issues/326","id":77738468,"user":{"login":"jplatte","id":951129,"avatar_url":"https://avatars.githubusercontent.com/u/951129?v=3","gravatar_id":"","url":"https://api.github.com/users/jplatte","html_url":"https://github.com/jplatte","followers_url":"https://api.github.com/users/jplatte/followers","following_url":"https://api.github.com/users/jplatte/following{/other_user}","gists_url":"https://api.github.com/users/jplatte/gists{/gist_id}","starred_url":"https://api.github.com/users/jplatte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jplatte/subscriptions","organizations_url":"https://api.github.com/users/jplatte/orgs","repos_url":"https://api.github.com/users/jplatte/repos","events_url":"https://api.github.com/users/jplatte/events{/privacy}","received_events_url":"https://api.github.com/users/jplatte/received_events","type":"User","site_admin":false},"created_at":"2015-03-08T08:15:47Z","updated_at":"2015-03-08T08:15:47Z","body":"Ideas about what? That bug report is about having a ';' in a path and states that that is generally not supported by CMake, with or without quotation."}}