Last change
on this file since 12005 was
9477,
checked in by landauf, 12 years ago
|
make gtest build on unix
|
-
Property svn:eol-style set to
native
|
File size:
1.3 KB
|
Line | |
---|
1 | # |
---|
2 | # ORXONOX - the hottest 3D action shooter ever to exist |
---|
3 | # > www.orxonox.net < |
---|
4 | # |
---|
5 | # This program is free software; you can redistribute it and/or |
---|
6 | # modify it under the terms of the GNU General Public License |
---|
7 | # as published by the Free Software Foundation; either version 2 |
---|
8 | # of the License, or (at your option) any later version. |
---|
9 | # |
---|
10 | # This program is distributed in the hope that it will be useful, |
---|
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
13 | # GNU General Public License for more details. |
---|
14 | # |
---|
15 | # You should have received a copy of the GNU General Public License along |
---|
16 | # with this program; if not, write to the Free Software Foundation, |
---|
17 | # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
---|
18 | # |
---|
19 | |
---|
20 | SET_SOURCE_FILES(GTEST_FILES |
---|
21 | src/gtest-all.cc |
---|
22 | include/gtest/gtest.h |
---|
23 | ) |
---|
24 | |
---|
25 | INCLUDE_DIRECTORIES( |
---|
26 | . |
---|
27 | include |
---|
28 | ) |
---|
29 | |
---|
30 | ORXONOX_ADD_LIBRARY(gtest_orxonox |
---|
31 | ORXONOX_EXTERNAL |
---|
32 | VERSION 1.6.0 |
---|
33 | EXCLUDE_FROM_ALL |
---|
34 | NO_INSTALL |
---|
35 | LINK_LIBS_UNIX pthread |
---|
36 | SOURCE_FILES ${GTEST_FILES} |
---|
37 | ) |
---|
38 | |
---|
39 | SET(GTEST_MAIN "${CMAKE_CURRENT_SOURCE_DIR}/src/gtest_main.cc" CACHE INTERNAL "gtest main() function") |
---|
Note: See
TracBrowser
for help on using the repository browser.