comparison generator/cat/CMakeLists.txt @ 0:f94206b2e05e

Initial import
author David Demelier <markand@malikania.fr>
date Tue, 27 Dec 2016 13:35:57 +0100
parents
children 0d9603b420c2
comparison
equal deleted inserted replaced
-1:000000000000 0:f94206b2e05e
1 #
2 # CMakeLists.txt -- code building for common code
3 #
4 # Copyright (c) 2013-2015 David Demelier <markand@malikania.fr>
5 #
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
8 # copyright notice and this permission notice appear in all copies.
9 #
10 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
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
16 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 #
18
19 add_executable(cat cat.cpp)
20 set_target_properties(
21 cat
22 PROPERTIES
23 RUNTIME_OUTPUT_NAME cat
24 RUNTIME_OUTPUT_NAME_DEBUG cat
25 RUNTIME_OUTPUT_NAME_RELEASE cat
26 RUNTIME_OUTPUT_NAME_RELWITHDEBINFO cat
27 RUNTIME_OUTPUT_NAME_MINISIZEREL cat
28 RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}
29 RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR}
30 RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR}
31 RUNTIME_OUTPUT_DIRECTORY_RELWITHDEBINFO ${CMAKE_BINARY_DIR}
32 RUNTIME_OUTPUT_DIRECTORY_MINISIZEREL ${CMAKE_BINARY_DIR}
33 )