Skip to content
This repository has been archived by the owner on Jan 22, 2019. It is now read-only.

Initial code stub #38

Merged
merged 38 commits into from
Mar 5, 2015
Merged

Initial code stub #38

merged 38 commits into from
Mar 5, 2015

Conversation

hsorby
Copy link
Contributor

@hsorby hsorby commented Mar 4, 2015

Initial code stub to satisfy issue #37.

Randall Britten and others added 30 commits February 17, 2015 10:39
(Created as follows: "doxygen -g")
These are based on settings use on December's work, as
well as ones that were on Hugh Sorby's pull request.
This is to show that the test actually does test something.
All lowercase, "_" separates words.
See cellml/libcellml#30
Was in Model.h in previous code, lost since rollback.
Separated cmake file for library from that for tests, both
separate from top level cmake file.
As suggested by Hugh Sorby (@hsorby).  This has a few benefits, for
examp.e, it helps validate that the set of headers is correct, since
the unit tests can only see the public headers.  Previously, headers
that were not intended to be part of the public API might also be in
the `src` directory.

(Obviously at this stage we only have one header file in the
set of public headers, but the plural is used since this will change
soon.)
Based on feedback.  This improves the include approach as follows:
1) Public include directory is isolated (the api directory)
2) `#includes` will start with `libcellml/` to avoid name clashes and
   make modularity more self-documenting.
Thanks to Hugh for spotting this.
There was some debate about whether the word "usually" should
be there. While I don't personally agree that it should be
deleted, it is too small an issue to warrant further discussion.
Test target only generated if `enable_testing()` is in
top-level file.
Also for Build dir, and only where appropriate.
@nickerso nickerso mentioned this pull request Mar 4, 2015
@nickerso
Copy link
Contributor

nickerso commented Mar 5, 2015

I think this sufficiently addresses #37 to be considered complete. I've managed to build it locally and it seems to work as expected (given the caveat about waiting on cmake 3.2 to get the C++11 checking/enabling properly implemented) and also passes on the ABI build server for all the platforms. I think @hsorby has managed to fix up all the issues that were holding up #28, so I believe this pull request to be suitable for merging in.

@nickerso nickerso mentioned this pull request Mar 5, 2015
agarny added a commit that referenced this pull request Mar 5, 2015
@agarny agarny merged commit 0dfb150 into cellml:develop Mar 5, 2015
@hsorby hsorby deleted the gtest01 branch March 5, 2015 20:56
@codecurve
Copy link
Contributor

@hsorby managed to fix up the few remaining issues. I fixed the bulk of them, (with lots of help from him).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants