{"action":"created","issue":{"url":"https://api.github.com/repos/eranif/codelite/issues/1318","repository_url":"https://api.github.com/repos/eranif/codelite","labels_url":"https://api.github.com/repos/eranif/codelite/issues/1318/labels{/name}","comments_url":"https://api.github.com/repos/eranif/codelite/issues/1318/comments","events_url":"https://api.github.com/repos/eranif/codelite/issues/1318/events","html_url":"https://github.com/eranif/codelite/issues/1318","id":161891122,"number":1318,"title":"Customizing CMake plugin project settings","user":{"login":"zenera","id":19840117,"avatar_url":"https://avatars.githubusercontent.com/u/19840117?v=3","gravatar_id":"","url":"https://api.github.com/users/zenera","html_url":"https://github.com/zenera","followers_url":"https://api.github.com/users/zenera/followers","following_url":"https://api.github.com/users/zenera/following{/other_user}","gists_url":"https://api.github.com/users/zenera/gists{/gist_id}","starred_url":"https://api.github.com/users/zenera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zenera/subscriptions","organizations_url":"https://api.github.com/users/zenera/orgs","repos_url":"https://api.github.com/users/zenera/repos","events_url":"https://api.github.com/users/zenera/events{/privacy}","received_events_url":"https://api.github.com/users/zenera/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-23T10:35:27Z","updated_at":"2016-06-26T06:02:43Z","closed_at":null,"body":"I'm a newbie for codelite and cmake. But I feel codelite has some bugs for cmakeplugin settings. I'm currently using codelite 9.1.8 on Ubuntu 16.04(64bit). I have read about CMakePlugin document for CodeLite 9.1.7 in http://codelite.org/LiteEditor/TheCMakePlugin.\r\n\r\nCurrently, my working settings for cmake plugin is to use cmake as a custom target.\r\nIt works fine for customized working directory for executing cmake, building and running a project.\r\nAlthough it is still confused in setting cmake plugin to work correctly.\r\n\r\nFor example, the working directory setting is duplicated in Project Settings (Customize > Working Directory and General > Intermediate Folder). But, if I want to run a built executable I have to set General > Executable to Run/Debug.\r\n\r\nNewly introduced \"Run CMake\" project context menu will be great if I could customize working directory. Then the customized taget for cmake would be useless. All the settings for cmake pluin could be done in Project Settings > General tab.\r\n\r\nUsually I make each project as a sub folder in a workspace. But it seemed \"Run CMake\" menu assumes a workspace to be a project. Furthermore it doesn't allow working in customized working directory, right?\r\nAnd a CMakeLists.txt for a workspace is mandatory. All the restrictions here are intended features and not bugs?\r\n\r\nIn summary, I'd like to welcome the \"Run CMake\" project context menu if it supports customized project settings.\r\n\r\nFurthemore, relevant menu items for cmakeplugin needs to be grouped:  Export CMakeLists.txt, Run CMake, Open CMakeLists.txt.\r\n\r\nOne more bug, $(WorkspaceConfiguration) macro doesn't work when used in Projet Settings > Customize > Working Directory. $(ConfigurationName) macro works fine though.\r\n\r\nThanks for great tools.\r\n"},"comment":{"url":"https://api.github.com/repos/eranif/codelite/issues/comments/228586069","html_url":"https://github.com/eranif/codelite/issues/1318#issuecomment-228586069","issue_url":"https://api.github.com/repos/eranif/codelite/issues/1318","id":228586069,"user":{"login":"eranif","id":3677711,"avatar_url":"https://avatars.githubusercontent.com/u/3677711?v=3","gravatar_id":"","url":"https://api.github.com/users/eranif","html_url":"https://github.com/eranif","followers_url":"https://api.github.com/users/eranif/followers","following_url":"https://api.github.com/users/eranif/following{/other_user}","gists_url":"https://api.github.com/users/eranif/gists{/gist_id}","starred_url":"https://api.github.com/users/eranif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eranif/subscriptions","organizations_url":"https://api.github.com/users/eranif/orgs","repos_url":"https://api.github.com/users/eranif/repos","events_url":"https://api.github.com/users/eranif/events{/privacy}","received_events_url":"https://api.github.com/users/eranif/received_events","type":"User","site_admin":false},"created_at":"2016-06-26T06:02:43Z","updated_at":"2016-06-26T06:02:43Z","body":"Thanks for the feedback on the CMake plugin changes.\r\nHOWEVER, when using \"Custom Project\" the CMake plugin does not work. period.\r\nWhen using a custom project it tells CodeLite that **YOU** take the ownership of building the project (this means: generate proper CMake, QMake etc file and convert them Makefile (or ...))\r\n\r\nThis will not going to change.\r\nIf you have a concrete comments on how the current plugin work (without \"custom build\" enabled) - please provide them"}}
{"actor":{"display_login":"eranif"}}