Mercurial > malikania
comparison examples/js-image/CMakeLists.txt @ 80:a162f380f02e
CMake: create examples, closes #615
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sun, 22 Jan 2017 09:59:14 +0100 |
parents | 78de82cc6bde |
children | 119bcc5a727e |
comparison
equal
deleted
inserted
replaced
79:8b41e9a2e095 | 80:a162f380f02e |
---|---|
1 # | 1 # |
2 # CMakeLists.txt -- CMake build system for malikania | 2 # CMakeLists.txt -- CMake build system for malikania |
3 # | 3 # |
4 # Copyright (c) 2013-2016 Malikania Authors | 4 # Copyright (c) 2013-2017 Malikania Authors |
5 # | 5 # |
6 # Permission to use, copy, modify, and/or distribute this software for any | 6 # Permission to use, copy, modify, and/or distribute this software for any |
7 # purpose with or without fee is hereby granted, provided that the above | 7 # purpose with or without fee is hereby granted, provided that the above |
8 # copyright notice and this permission notice appear in all copies. | 8 # copyright notice and this permission notice appear in all copies. |
9 # | 9 # |
14 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | 14 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
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 malikania_create_test( | 19 malikania_define_example( |
20 NAME js-image | 20 TARGET js-image |
21 LIBRARIES libmlk-client-js | 21 LIBRARIES libmlk-client-js |
22 SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/main.cpp | 22 SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/main.cpp |
23 RESOURCES | |
24 resources/images/smiley.png | |
25 ) | 23 ) |