{"action":"created","issue":{"url":"https://api.github.com/repos/deplinenoise/tundra/issues/249","labels_url":"https://api.github.com/repos/deplinenoise/tundra/issues/249/labels{/name}","comments_url":"https://api.github.com/repos/deplinenoise/tundra/issues/249/comments","events_url":"https://api.github.com/repos/deplinenoise/tundra/issues/249/events","html_url":"https://github.com/deplinenoise/tundra/issues/249","id":70434026,"number":249,"title":"What's the simplest way to add an implicit input to a node?","user":{"login":"leidegre","id":63085,"avatar_url":"https://avatars.githubusercontent.com/u/63085?v=3","gravatar_id":"","url":"https://api.github.com/users/leidegre","html_url":"https://github.com/leidegre","followers_url":"https://api.github.com/users/leidegre/followers","following_url":"https://api.github.com/users/leidegre/following{/other_user}","gists_url":"https://api.github.com/users/leidegre/gists{/gist_id}","starred_url":"https://api.github.com/users/leidegre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leidegre/subscriptions","organizations_url":"https://api.github.com/users/leidegre/orgs","repos_url":"https://api.github.com/users/leidegre/repos","events_url":"https://api.github.com/users/leidegre/events{/privacy}","received_events_url":"https://api.github.com/users/leidegre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-23T14:59:52Z","updated_at":"2015-04-23T19:01:54Z","closed_at":null,"body":"I have a Win32 resource (`.rc`) file that specifies a file as a resource. I'd like to add that file as an implicit input to the .rc file node. The resource file looks like this.\r\n\r\n    \"SOME_RESOURCE_NAME\" RCDATA \"SomeFile.txt\"\r\n\r\nWhat I would like to be able to do is basically this (simple and to the point).\r\n\r\n    { \"Resources.rc\", ImplicitInputs = { \"SomeFile.txt\" } }\r\n\r\nAnd have that table be passed to the eventual `make_node` call together with any other `ImplicitInputs`. However, file names get passed around as string and a lot of code is treating file names as just string making files names complex or adding function call parameters to the setup feels like a lot of work.\r\n\r\nIdeas, anyone?"},"comment":{"url":"https://api.github.com/repos/deplinenoise/tundra/issues/comments/95686602","html_url":"https://github.com/deplinenoise/tundra/issues/249#issuecomment-95686602","issue_url":"https://api.github.com/repos/deplinenoise/tundra/issues/249","id":95686602,"user":{"login":"deplinenoise","id":333045,"avatar_url":"https://avatars.githubusercontent.com/u/333045?v=3","gravatar_id":"","url":"https://api.github.com/users/deplinenoise","html_url":"https://github.com/deplinenoise","followers_url":"https://api.github.com/users/deplinenoise/followers","following_url":"https://api.github.com/users/deplinenoise/following{/other_user}","gists_url":"https://api.github.com/users/deplinenoise/gists{/gist_id}","starred_url":"https://api.github.com/users/deplinenoise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deplinenoise/subscriptions","organizations_url":"https://api.github.com/users/deplinenoise/orgs","repos_url":"https://api.github.com/users/deplinenoise/repos","events_url":"https://api.github.com/users/deplinenoise/events{/privacy}","received_events_url":"https://api.github.com/users/deplinenoise/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T19:01:54Z","updated_at":"2015-04-23T19:01:54Z","body":"Normally you'd do this by registering an implicit dependency scanner for\nyour type. I'm pretty sure rc targets use the cpp scanner.\n\nMaybe you could alter the rc scanner to also go find these other files. The\ncpp scanner is implemented in native code for performance reasons. Adding\noptional handling of RC keywords in there might be ok.\n\nOn Apr 23, 2015, at 7:59, John Leidegren <notifications@github.com> wrote:\n\nI have a Win32 resource (.rc) file that specifies a file as a resource. I'd\nlike to add that file as an implicit input to the .rc file node. The\nresource file looks like this.\n\n\"SOME_RESOURCE_NAME\" RCDATA \"SomeFile.txt\"\n\nWhat I would like to be able to do is basically this (simple and to the\npoint).\n\n{ \"Resources.rc\", ImplicitInputs = { \"SomeFile.txt\" } }\n\nAnd have that table be passed to the eventual make_node call together with\nany other ImplicitInputs. However, file names get passed around as string\nand a lot of code is treating file names as just string making files names\ncomplex or adding function call parameters to the setup feels like a lot of\nwork.\n\nIdeas, anyone?\n\n—\nReply to this email directly or view it on GitHub\n<https://github.com/deplinenoise/tundra/issues/249>.\n"}}