annotate irccdctl/CMakeLists.txt @ 377:cd7270ec6c8e

CMake: general cleanup
author David Demelier <markand@malikania.fr>
date Sun, 18 Dec 2016 10:02:59 +0100
parents 24b1709093e7
children c6fbb6e0e06d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
377
cd7270ec6c8e CMake: general cleanup
David Demelier <markand@malikania.fr>
parents: 348
diff changeset
1 #
cd7270ec6c8e CMake: general cleanup
David Demelier <markand@malikania.fr>
parents: 348
diff changeset
2 # CMakeLists.txt -- CMake build system for irccd
0
1158cffe5a5e Initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
3 #
1158cffe5a5e Initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
4 # Copyright (c) 2013-2016 David Demelier <markand@malikania.fr>
1158cffe5a5e Initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
5 #
1158cffe5a5e Initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
6 # Permission to use, copy, modify, and/or distribute this software for any
1158cffe5a5e Initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
7 # purpose with or without fee is hereby granted, provided that the above
1158cffe5a5e Initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
8 # copyright notice and this permission notice appear in all copies.
1158cffe5a5e Initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
9 #
1158cffe5a5e Initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
10 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
1158cffe5a5e Initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
11 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
1158cffe5a5e Initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
12 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
1158cffe5a5e Initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
13 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
1158cffe5a5e Initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
14 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
1158cffe5a5e Initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
15 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1158cffe5a5e Initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
16 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1158cffe5a5e Initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
17 #
1158cffe5a5e Initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
18
1158cffe5a5e Initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
19 project(irccdctl)
1158cffe5a5e Initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
20
340
0f14931a76c1 Irccdctl: reenable
David Demelier <markand@malikania.fr>
parents: 256
diff changeset
21 set(
0f14931a76c1 Irccdctl: reenable
David Demelier <markand@malikania.fr>
parents: 256
diff changeset
22 SOURCES
0f14931a76c1 Irccdctl: reenable
David Demelier <markand@malikania.fr>
parents: 256
diff changeset
23 ${irccdctl_SOURCE_DIR}/CMakeLists.txt
348
24b1709093e7 Irccdctl: resurrect
David Demelier <markand@malikania.fr>
parents: 345
diff changeset
24 ${irccdctl_SOURCE_DIR}/alias.cpp
24b1709093e7 Irccdctl: resurrect
David Demelier <markand@malikania.fr>
parents: 345
diff changeset
25 ${irccdctl_SOURCE_DIR}/alias.hpp
340
0f14931a76c1 Irccdctl: reenable
David Demelier <markand@malikania.fr>
parents: 256
diff changeset
26 ${irccdctl_SOURCE_DIR}/cli.cpp
0f14931a76c1 Irccdctl: reenable
David Demelier <markand@malikania.fr>
parents: 256
diff changeset
27 ${irccdctl_SOURCE_DIR}/cli.hpp
0f14931a76c1 Irccdctl: reenable
David Demelier <markand@malikania.fr>
parents: 256
diff changeset
28 ${irccdctl_SOURCE_DIR}/main.cpp
0f14931a76c1 Irccdctl: reenable
David Demelier <markand@malikania.fr>
parents: 256
diff changeset
29 )
0f14931a76c1 Irccdctl: reenable
David Demelier <markand@malikania.fr>
parents: 256
diff changeset
30
0
1158cffe5a5e Initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
31 irccd_define_executable(
207
6635b9187d71 Irccd: switch to 4 spaces indent, #518
David Demelier <markand@malikania.fr>
parents: 73
diff changeset
32 TARGET irccdctl
256
f04acabfbbe5 CMake: switch to NSIS with various fixes, closes #533
David Demelier <markand@malikania.fr>
parents: 207
diff changeset
33 DESCRIPTION "Irccd controller."
340
0f14931a76c1 Irccdctl: reenable
David Demelier <markand@malikania.fr>
parents: 256
diff changeset
34 SOURCES ${SOURCES}
0f14931a76c1 Irccdctl: reenable
David Demelier <markand@malikania.fr>
parents: 256
diff changeset
35 LIBRARIES libirccdctl
72
98ac3c79009f Irccd: start making a library, #429
David Demelier <markand@malikania.fr>
parents: 0
diff changeset
36 )