source: trunk/cppad_lib/CMakeLists.txt @ 3754

Last change on this file since 3754 was 3754, checked in by bradbell, 5 years ago

merge to branch: trunk
from repository: https://github.com/coin-or/CppAD
start hash code: 4d397fa0c1ba147098a173bdbbca67432066d6e8
end hash code: 7dfec41e8207862aebc5f7ca502453f0aeda4640

commit 7dfec41e8207862aebc5f7ca502453f0aeda4640
Author: Brad Bell <bradbell@…>
Date: Thu Nov 26 12:48:39 2015 -0800

Remove invisible white space.

commit 8537354fe503177568e5e9ee92ade691749e5201
Author: Brad Bell <bradbell@…>
Date: Thu Nov 26 12:48:31 2015 -0800

Create cppad object library with cppad_colpack.cpp as its initial object.

File size: 1021 bytes
Line 
1# $Id$
2# -----------------------------------------------------------------------------
3# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell
4#
5# CppAD is distributed under multiple licenses. This distribution is under
6# the terms of the
7#                     Eclipse Public License Version 1.0.
8#
9# A copy of this license is included in the COPYING file of this distribution.
10# Please visit http://www.coin-or.org/CppAD/ for information on other licenses.
11# -----------------------------------------------------------------------------
12# Build and install the cppad_lib shared library
13
14#  add_library(<name> [STATIC | SHARED | MODULE] [EXCLUDE_FROM_ALL]
15#       source1 source2 ... sourceN)
16# )
17ADD_LIBRARY( cppad_lib SHARED
18        cppad_colpack.cpp
19)
20
21# Add extra compiler flags
22add_cppad_cxx_flags( cppad_lib )
23
24# install(TARGETS myExe mySharedLib myStaticLib
25#       RUNTIME DESTINATION bin
26#       LIBRARY DESTINATION lib
27#       ARCHIVE DESTINATION lib/static)
28INSTALL(TARGETS cppad_lib DESTINATION ${cppad_abs_libdir})
Note: See TracBrowser for help on using the repository browser.