annotate client/CMakeLists.txt @ 151:7a8ccd50bdf6

Misc: update .hgignore
author David Demelier <markand@malikania.fr>
date Mon, 04 Dec 2017 12:54:40 +0100
parents 473e1eb96363
children 43a26de57fe7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
33
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
1 #
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
2 # CMakeLists.txt -- CMake build system for malikania
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
3 #
110
119bcc5a727e Misc: replace copyrights, closes #655
David Demelier <markand@malikania.fr>
parents: 76
diff changeset
4 # Copyright (c) 2013-2017 David Demelier <markand@malikania.fr>
33
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
5 #
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
6 # Permission to use, copy, modify, and/or distribute this software for any
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
7 # purpose with or without fee is hereby granted, provided that the above
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
8 # copyright notice and this permission notice appear in all copies.
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
9 #
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
10 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
11 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
12 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
13 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
14 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
15 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
16 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
17 #
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
18
52
4bc4732fa1dd Client: add basic button, closes #601
David Demelier <markand@malikania.fr>
parents: 37
diff changeset
19 project(mlk-client)
33
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
20
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
21 set(
52
4bc4732fa1dd Client: add basic button, closes #601
David Demelier <markand@malikania.fr>
parents: 37
diff changeset
22 SOURCES
57
9ccc36ba4725 CMake: use full path for a better vera++ integration
David Demelier <markand@malikania.fr>
parents: 52
diff changeset
23 ${mlk-client_SOURCE_DIR}/main.cpp
33
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
24 )
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
25
142
473e1eb96363 Client: add simple splashscreen_state, #712
David Demelier <markand@malikania.fr>
parents: 110
diff changeset
26 set(
473e1eb96363 Client: add simple splashscreen_state, #712
David Demelier <markand@malikania.fr>
parents: 110
diff changeset
27 ASSETS
473e1eb96363 Client: add simple splashscreen_state, #712
David Demelier <markand@malikania.fr>
parents: 110
diff changeset
28 ${mlk-client_SOURCE_DIR}/assets/kingthings_spike.ttf
473e1eb96363 Client: add simple splashscreen_state, #712
David Demelier <markand@malikania.fr>
parents: 110
diff changeset
29 )
473e1eb96363 Client: add simple splashscreen_state, #712
David Demelier <markand@malikania.fr>
parents: 110
diff changeset
30
52
4bc4732fa1dd Client: add basic button, closes #601
David Demelier <markand@malikania.fr>
parents: 37
diff changeset
31 malikania_define_executable(
4bc4732fa1dd Client: add basic button, closes #601
David Demelier <markand@malikania.fr>
parents: 37
diff changeset
32 TARGET mlk-client
4bc4732fa1dd Client: add basic button, closes #601
David Demelier <markand@malikania.fr>
parents: 37
diff changeset
33 SOURCES ${SOURCES}
142
473e1eb96363 Client: add simple splashscreen_state, #712
David Demelier <markand@malikania.fr>
parents: 110
diff changeset
34 ASSETS ${ASSETS}
67
913f59490e2d CMake: add mlk prefixes to libraries
David Demelier <markand@malikania.fr>
parents: 57
diff changeset
35 LIBRARIES libmlk-client-js
52
4bc4732fa1dd Client: add basic button, closes #601
David Demelier <markand@malikania.fr>
parents: 37
diff changeset
36 )