Mercurial > malikania
comparison tests/libcommon/CMakeLists.txt @ 98:f4d23ad4aa27
Common: refactoring class mlk::size
1. Make uniform size representation in JSON format:
{
"width": 100,
"height": 200
}
The Javascript API was using this form while an array was used in loaders.
2. Create brand new functions in util::json to parse mlk::size objects,
Updated util::json::require_(u)int as well.
3. Add new tests for mlk::size object,
4. Get rid of utilities in loader as they are in util::json instead.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 04 Jul 2017 13:23:15 +0200 |
parents | 858621081b95 |
children | 6f4965c26ceb |
comparison
equal
deleted
inserted
replaced
97:7377a3d8600d | 98:f4d23ad4aa27 |
---|---|
15 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 15 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
16 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 16 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
17 # | 17 # |
18 | 18 |
19 add_subdirectory(util) | 19 add_subdirectory(util) |
20 add_subdirectory(size) | |
21 | |
22 # JavaScript bindings | |
20 add_subdirectory(js-elapsed-timer) | 23 add_subdirectory(js-elapsed-timer) |
24 add_subdirectory(js-size) |