← Back to team overview

brewtarget-devs team mailing list archive

Re: cmake and a subdir


Theirs is a git repository right? If so, you can just add it as a
submodule: http://git-scm.com/book/en/Git-Tools-Submodules

On Sun, Mar 23, 2014 at 8:59 AM, Peter Buelow <goballstate@xxxxxxxxx> wrote:

> Replying to my own. I actually figured out a better way to handle it. I am
> putting it in the source dir. There shouldn't be a license issue, it's
> GPLV2. And it seems to handle usage of QT5 such that it is self
> deprecating. Interesting.
> On Sat, Mar 22, 2014 at 9:42 PM, Peter Buelow <goballstate@xxxxxxxxx>wrote:
>> Hey all, just curious to know how I would add a subdir to the build?
>> Basically, I am starting to work on a way to upload recipes to dropbox
>> using their public API for non commercial apps. This becomes a nice way to
>> be able to share recipes and then maybe have a handheld version later on.
>> It's sort of an extension of my original effort to make the database work
>> for multiple backends. I think this is a better idea, but am open to
>> suggestion.
>> Basically, I'm choosing to use qjson4 to do JSON for QT4. I want to keep
>> it separate from the standard source because if/when the switch is made to
>> QT5, it becomes redundant. I can't seem to figure out how cmake is used
>> here, with the SRCDIR value. I can't get it to figure out I have a new
>> subdir under src.
>> Thoughts? I'll take feedback on both the idea, and how to get it to build
>> in.
>> https://code.google.com/p/qjson4/
>> --
>> Pete
> --
> Pete
> --
> Mailing list: https://launchpad.net/~brewtarget-devs
> Post to     : brewtarget-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~brewtarget-devs
> More help   : https://help.launchpad.net/ListHelp

Philip G. Lee

Follow ups