source: CLRX/CLRadeonExtender/trunk/CMakeLists.txt @ 3224

Last change on this file since 3224 was 3224, checked in by matszpk, 3 years ago

CLRadeonExtender: Add new option GCC5CXX11NEWABI for forcing new GCC5 C++11 new ABI.

  • Property svn:mime-type set to text/plain
File size: 13.9 KB
Line 
1####
2#  CLRadeonExtender - Unofficial OpenCL Radeon Extensions Library
3#  Copyright (C) 2014-2017 Mateusz Szpakowski
4#
5#  This library is free software; you can redistribute it and/or
6#  modify it under the terms of the GNU Lesser General Public
7#  License as published by the Free Software Foundation; either
8#  version 2.1 of the License, or (at your option) any later version.
9#
10#  This library 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 GNU
13#  Lesser General Public License for more details.
14#
15#  You should have received a copy of the GNU Lesser General Public
16#  License along with this library; if not, write to the Free Software
17#  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
18####
19
20CMAKE_MINIMUM_REQUIRED(VERSION 2.8.1)
21
22PROJECT(CLRadeonExtender)
23
24SET(CLRX_VERSION 0.1.4)
25SET(CLRX_MAJOR_VERSION 0)
26SET(CLRX_MINOR_VERSION 1)
27SET(CLRX_MICRO_VERSION 4)
28
29ENABLE_LANGUAGE(CXX)
30
31OPTION(GCC5CXX11NEWABI "Force new GCC 5 C++11 ABI" OFF)
32IF(GCC5CXX11NEWABI)
33    SET(EXTRA_PACK_SUFFIX "-gcc5")
34ENDIF(GCC5CXX11NEWABI)
35
36#####
37# packacing
38SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Unofficial OpenCL Radeon extensions")
39SET(CPACK_PACKAGE_VENDOR "matszpk")
40SET(CPACK_PACKAGE_MAINTAINER "matszpk")
41SET(CPACK_PACKAGE_VERSION_MAJOR ${CLRX_MAJOR_VERSION})
42SET(CPACK_PACKAGE_VERSION_MINOR ${CLRX_MINOR_VERSION})
43SET(CPACK_PACKAGE_VERSION_PATCH ${CLRX_MICRO_VERSION})
44SET(CPACK_PACKAGE_VERSION ${CLRX_VERSION})
45SET(CPACK_SYSTEM_NAME ${CMAKE_SYSTEM_NAME})
46IF((CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_CL_64) AND NOT BUILD_32BIT)
47SET(CPACK_PACKAGE_FILE_NAME CLRadeonExtender-${CPACK_PACKAGE_VERSION}-${CPACK_SYSTEM_NAME}-x64${EXTRA_PACK_SUFFIX})
48ELSE((CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_CL_64) AND NOT BUILD_32BIT)
49SET(CPACK_PACKAGE_FILE_NAME CLRadeonExtender-${CPACK_PACKAGE_VERSION}-${CPACK_SYSTEM_NAME}-x86${EXTRA_PACK_SUFFIX})
50ENDIF((CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_CL_64) AND NOT BUILD_32BIT)
51
52INCLUDE(CPack)
53
54######
55## end packaging
56
57LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
58
59INCLUDE(CheckFunctionExists)
60INCLUDE(CheckLibraryExists)
61INCLUDE(CheckIncludeFileCXX)
62INCLUDE(CheckCCompilerFlag)
63INCLUDE(CheckCXXCompilerFlag)
64
65CHECK_CXX_COMPILER_FLAG("-std=gnu++11" HAVE_GNU11_FLAG)
66
67# workaround for
68SET(CMAKE_REQUIRED_FLAGS "-std=gnu++11")
69CHECK_INCLUDE_FILE_CXX(iostream HAVE_GNU11_IOSTREAM)
70UNSET(CMAKE_REQUIRED_FLAGS)
71
72IF(HAVE_GNU11_FLAG AND HAVE_GNU11_IOSTREAM)
73    SET(CPP_STANDARD "-std=gnu++11")
74    SET(HAVE_GNU11 1)
75ELSE(HAVE_GNU11_FLAG AND HAVE_GNU11_IOSTREAM)
76    SET(CPP_STANDARD "-std=c++11")
77ENDIF(HAVE_GNU11_FLAG AND HAVE_GNU11_IOSTREAM)
78
79MESSAGE(STATUS "Use standard ${CPP_STANDARD} for ${CMAKE_CXX_COMPILER}")
80
81IF(GCC5CXX11NEWABI)
82    ADD_DEFINITIONS(-DGLIBCXX_USE_CXX11_ABI=1)
83ENDIF(GCC5CXX11NEWABI)
84
85### 32-bit compilation option
86OPTION(BUILD_32BIT "Build 32-bit version" OFF)
87
88IF(NOT LIB_INSTALL_DIR)
89    IF(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND
90        CMAKE_SYSTEM_NAME STREQUAL "Linux" AND NOT BUILD_32BIT)
91        SET(LIB_INSTALL_DIR "lib64")
92    ELSE(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND
93        CMAKE_SYSTEM_NAME STREQUAL "Linux" AND NOT BUILD_32BIT)
94        SET(LIB_INSTALL_DIR "lib")
95    ENDIF(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND
96        CMAKE_SYSTEM_NAME STREQUAL "Linux" AND NOT BUILD_32BIT)
97    MESSAGE("Using library install dirname ${LIB_INSTALL_DIR}")
98ENDIF(NOT LIB_INSTALL_DIR)
99
100IF(BUILD_32BIT)
101    SET(CMAKE_CXX_FLAGS "-Wall -m32 ${CPP_STANDARD}")
102    SET(CMAKE_CXX_FLAGS_DEBUG "-Wall -m32 ${CPP_STANDARD} -g -O0 -DDEBUG=1")
103    SET(CMAKE_CXX_FLAGS_DEBUGCOV "-Wall -m32 ${CPP_STANDARD} -g -O0 -DDEBUG=1 --coverage")
104    SET(CMAKE_CXX_FLAGS_GCCSAN
105    "-Wall -m32 ${CPP_STANDARD} -g -O0 -DDEBUG=1 -fstack-protector-all -fsanitize=address")
106    SET(CMAKE_CXX_FLAGS_GCCSSP
107        "-Wall -m32 ${CPP_STANDARD} -g -O0 -DDEBUG=1 -fstack-protector-all")
108    SET(CMAKE_CXX_FLAGS_RELEASE "-Wall -m32 ${CPP_STANDARD} -O2 -fomit-frame-pointer")
109    SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO
110        "-Wall -m32 ${CPP_STANDARD} -g -O2 -funroll-loops -DDEBUG=1")
111    SET(CMAKE_CXX_FLAGS_RELWITHPROFILE
112        "-Wall -m32 ${CPP_STANDARD} -g -O2 -pg -funroll-loops")
113ELSE(BUILD_32BIT)
114    IF(MSVC)
115    SET(CMAKE_CXX_FLAGS "/W1 /EHsc")
116    SET(CMAKE_CXX_FLAGS_DEBUG "/W1 /EHsc /Zi /Od /DDEBUG=1")
117    SET(CMAKE_CXX_FLAGS_RELEASE "/W1 /EHsc /O2")
118    SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "/W1 /EHsc /Zi /O2 /DDEBUG=1")
119    ELSE(MSVC)
120    SET(CMAKE_CXX_FLAGS "-Wall ${CPP_STANDARD}")
121    SET(CMAKE_CXX_FLAGS_DEBUG "-Wall ${CPP_STANDARD} -g -O0 -DDEBUG=1")
122    SET(CMAKE_CXX_FLAGS_DEBUGCOV "-Wall ${CPP_STANDARD} -g -O0 -DDEBUG=1 --coverage")
123    SET(CMAKE_CXX_FLAGS_GCCSAN
124        "-Wall ${CPP_STANDARD} -g -O0 -DDEBUG=1 -fstack-protector-all -fsanitize=address")
125    SET(CMAKE_CXX_FLAGS_GCCSSP
126        "-Wall ${CPP_STANDARD} -g -O0 -DDEBUG=1 -fstack-protector-all")
127    SET(CMAKE_CXX_FLAGS_RELEASE "-Wall ${CPP_STANDARD} -O2 -fomit-frame-pointer")
128    SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO
129        "-Wall ${CPP_STANDARD} -g -O2 -funroll-loops -DDEBUG=1")
130    SET(CMAKE_CXX_FLAGS_RELWITHPROFILE "-Wall ${CPP_STANDARD} -g -O2 -pg -funroll-loops")
131    ENDIF(MSVC)
132ENDIF(BUILD_32BIT)
133
134IF(IS_DIRECTORY "/usr/lib/x86_64-linux-gnu/amdgpu-pro" OR
135    IS_DIRECTORY "/usr/lib/i386-linux-gnu/amdgpu-pro")
136    SET(HAVE_UBUNTU_GPUPRO TRUE)
137    MESSAGE(STATUS "AMDGPU-PRO for Ubuntu is found")
138ENDIF(IS_DIRECTORY "/usr/lib/x86_64-linux-gnu/amdgpu-pro" OR
139    IS_DIRECTORY "/usr/lib/i386-linux-gnu/amdgpu-pro")
140IF(IS_DIRECTORY "/opt/amdgpu-pro/lib/x86_64-linux-gnu" OR
141        IS_DIRECTORY "/opt/amdgpu-pro/lib/i386-linux-gnu")
142    SET(HAVE_GPUPRO_NEW TRUE)
143    MESSAGE(STATUS "New AMDGPU-PRO is found")
144ENDIF(IS_DIRECTORY "/opt/amdgpu-pro/lib/x86_64-linux-gnu" OR
145        IS_DIRECTORY "/opt/amdgpu-pro/lib/i386-linux-gnu")
146IF (NOT HAVE_GPUPRO_NEW AND NOT HAVE_UBUNTU_GPUPRO)
147    IF(IS_DIRECTORY "/opt/amdgpu-pro/lib64" OR IS_DIRECTORY "/opt/amdgpu-pro/lib")
148        SET(HAVE_GPUPRO_SLES TRUE)
149        MESSAGE(STATUS "SLES AMDGPU-PRO is found")
150    ENDIF(IS_DIRECTORY "/opt/amdgpu-pro/lib64" OR IS_DIRECTORY "/opt/amdgpu-pro/lib")
151ENDIF(NOT HAVE_GPUPRO_NEW AND NOT HAVE_UBUNTU_GPUPRO)
152
153IF("${PROJECT_SOURCE_DIR}" MATCHES "${PROJECT_BINARY_DIR}")
154    MESSAGE("Please do an out-of-tree build:")
155    MESSAGE("rm -f CMakeCache.txt; mkdir -p default; cd default; cmake ..; make")
156    MESSAGE(FATAL_ERROR "in-tree-build detected")
157ENDIF("${PROJECT_SOURCE_DIR}" MATCHES "${PROJECT_BINARY_DIR}")
158
159SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH ON)
160SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${LIB_INSTALL_DIR}")
161
162OPTION(NO_STATIC "Disable static during compiling" OFF)
163
164INCLUDE(PortUtils)
165IF(WIN32)
166  SET(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS TRUE)
167ENDIF(WIN32)
168
169####
170# Documentation
171####
172OPTION(BUILD_DOCUMENTATION "Build whole documentation" OFF)
173OPTION(BUILD_DOXYGEN "Use Doxygen to create the HTML based API documentation" OFF)
174OPTION(BUILD_MANUAL "Use Pod2Man to create the Unix manuals" OFF)
175OPTION(BUILD_CLRXDOC "Use markdown_py to create offline wiki pages" OFF)
176
177IF(BUILD_DOCUMENTATION)
178  SET(BUILD_DOXYGEN ON)
179  SET(BUILD_MANUAL ON)
180  SET(BUILD_CLRXDOC ON)
181ENDIF(BUILD_DOCUMENTATION)
182
183####
184# rules to build doxygen and clrx doc is in proper CMakeLists.txt files in subdirectories
185####
186
187IF(BUILD_MANUAL)
188    INCLUDE(Pod2Man)
189    ADD_MANPAGE_TARGET()
190ENDIF(BUILD_MANUAL)
191####
192# Documentation
193####
194
195INCLUDE_DIRECTORIES("${PROJECT_SOURCE_DIR}")
196INCLUDE_DIRECTORIES("${PROJECT_BINARY_DIR}")
197
198OPTION(NO_OPENCL "Do not use OpenCL" OFF)
199OPTION(NO_CLWRAPPER "Do not enable CLRXWrapper" OFF)
200
201####
202# OpenCL find
203####
204SET(OPENCL_DIST_DIR "" CACHE PATH "OpenCL Distribution directory")
205
206IF(NOT OPENCL_DIST_DIR AND NOT NO_OPENCL)
207    IF(EXISTS /opt/AMDAPP)
208        SET(OPENCL_DIST_DIR "/opt/AMDAPP")
209        MESSAGE(STATUS "OpenCL AMDAPP found")
210    ELSEIF(EXISTS "/Program Files (x86)/AMD APP SDK")
211        FILE(GLOB OPENCL_DIST_DIR "/Program Files (x86)/AMD APP SDK/*")
212        MESSAGE(STATUS "OpenCL AMDAPP found")
213    ELSEIF(EXISTS "/Program Files/AMD APP SDK")
214        FILE(GLOB OPENCL_DIST_DIR "/Program Files/AMD APP SDK/*")
215        MESSAGE(STATUS "OpenCL AMDAPP found")
216    ELSEIF(EXISTS /usr/include/CL)
217        SET(OPENCL_DIST_DIR "/usr")
218        MESSAGE(STATUS "Standard OpenCL found.")
219    ENDIF(EXISTS /opt/AMDAPP)
220ENDIF(NOT OPENCL_DIST_DIR AND NOT NO_OPENCL)
221
222IF (NOT NO_OPENCL AND OPENCL_DIST_DIR)
223    SET(OPENCL_LIBRARY_DIRS "")
224    SET(OPENCL_INCLUDE_DIRS "${OPENCL_DIST_DIR}/include")
225    SET(OPENCL_LIBRARIES "OpenCL")
226    SET(HAVE_OPENCL 1)
227ENDIF(NOT NO_OPENCL AND OPENCL_DIST_DIR)
228
229# check for AMDAPP lib/x86 or lib/x86_64 libOpenCL.so file
230IF(HAVE_OPENCL)
231    IF((CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_CL_64) AND NOT BUILD_32BIT)
232        IF(EXISTS ${OPENCL_DIST_DIR}/lib/x86_64/libOpenCL.so OR
233            EXISTS ${OPENCL_DIST_DIR}/lib/x86_64/OpenCL.lib)
234            SET(OPENCL_LIBRARY_DIRS "${OPENCL_DIST_DIR}/lib/x86_64")
235        ENDIF(EXISTS ${OPENCL_DIST_DIR}/lib/x86_64/libOpenCL.so OR
236            EXISTS ${OPENCL_DIST_DIR}/lib/x86_64/OpenCL.lib)
237    ELSEIF(NOT CMAKE_CL_64 OR CMAKE_SYSTEM_PROCESSOR STREQUAL "i386" OR
238            CMAKE_SYSTEM_PROCESSOR STREQUAL "i486" OR
239            CMAKE_SYSTEM_PROCESSOR STREQUAL "i586" OR
240            CMAKE_SYSTEM_PROCESSOR STREQUAL "i686" OR
241            CMAKE_SYSTEM_PROCESSOR STREQUAL "x86" OR BUILD_32BIT)
242        IF(EXISTS ${OPENCL_DIST_DIR}/lib/x86/libOpenCL.so OR
243            EXISTS ${OPENCL_DIST_DIR}/lib/x86/OpenCL.lib)
244            SET(OPENCL_LIBRARY_DIRS "${OPENCL_DIST_DIR}/lib/x86")
245        ENDIF(EXISTS ${OPENCL_DIST_DIR}/lib/x86/libOpenCL.so OR
246            EXISTS ${OPENCL_DIST_DIR}/lib/x86/OpenCL.lib)
247    ENDIF((CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_CL_64) AND NOT BUILD_32BIT)
248    IF(HAVE_UBUNTU_GPUPRO)
249        IF((CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_CL_64) AND NOT BUILD_32BIT)
250            SET(OPENCL_LIBRARY_DIRS "/usr/lib/x86_64-linux-gnu/amdgpu-pro")
251        ELSE((CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_CL_64) AND NOT BUILD_32BIT)
252            SET(OPENCL_LIBRARY_DIRS "/usr/lib/i386-linux-gnu/amdgpu-pro")
253        ENDIF((CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_CL_64) AND NOT BUILD_32BIT)
254    ENDIF(HAVE_UBUNTU_GPUPRO)
255    IF(HAVE_GPUPRO_NEW)
256        IF((CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_CL_64) AND NOT BUILD_32BIT)
257            SET(OPENCL_LIBRARY_DIRS "/opt/amdgpu-pro/lib/x86_64-linux-gnu")
258        ELSE((CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_CL_64) AND NOT BUILD_32BIT)
259            SET(OPENCL_LIBRARY_DIRS "/opt/amdgpu-pro/lib/i386-linux-gnu")
260        ENDIF((CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_CL_64) AND NOT BUILD_32BIT)
261    ENDIF(HAVE_GPUPRO_NEW)
262    IF(HAVE_GPUPRO_SLES)
263        IF((CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_CL_64) AND NOT BUILD_32BIT)
264            SET(OPENCL_LIBRARY_DIRS "/opt/amdgpu-pro/lib64")
265        ELSE((CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_CL_64) AND NOT BUILD_32BIT)
266            SET(OPENCL_LIBRARY_DIRS "/opt/amdgpu-pro/lib")
267        ENDIF((CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_CL_64) AND NOT BUILD_32BIT)
268    ENDIF(HAVE_GPUPRO_SLES)
269ENDIF(HAVE_OPENCL)
270
271###
272# end of OpenCL config
273###
274
275IF(HAVE_OPENCL)
276    MESSAGE(STATUS "OpenCL found")
277    MESSAGE(STATUS "OpenCL library dirs: " ${OPENCL_LIBRARY_DIRS})
278    MESSAGE(STATUS "OpenCL libraries: " ${OPENCL_LIBRARIES})
279    MESSAGE(STATUS "OpenCL include dirs: " ${OPENCL_INCLUDE_DIRS})
280ELSE(HAVE_OPENCL)
281    MESSAGE(WARNING "OpenCL not found")
282ENDIF(HAVE_OPENCL)
283
284SET(CMAKE_THREAD_PREFER_PTHREAD 1)
285FIND_PACKAGE(Threads)
286
287IF(BUILD_32BIT)
288    MESSAGE(STATUS "This is 32-bit")
289    TRY_COMPILE(HAVE_INT128 "${PROJECT_BINARY_DIR}" "${PROJECT_SOURCE_DIR}/Int128Detect.c"
290        COMPILE_DEFINITIONS "-m32")
291ELSE(BUILD_32BIT)
292    TRY_COMPILE(HAVE_INT128 "${PROJECT_BINARY_DIR}" "${PROJECT_SOURCE_DIR}/Int128Detect.c")
293ENDIF(BUILD_32BIT)
294
295IF(HAVE_INT128)
296    MESSAGE(STATUS "128-bit integer arithmetic detected")
297ELSE(HAVE_INT128)
298    MESSAGE(STATUS "128-bit integer arithmetic not supported by compiler")
299ENDIF(HAVE_INT128)
300
301###
302# other dependencies and checks
303###
304
305FIND_PACKAGE(PNG)
306
307IF(PNG_FOUND)
308    MESSAGE(STATUS "Png found ${PNG_INCLUDE_DIRS}")
309ENDIF(PNG_FOUND)
310
311###
312# end of other dependencies and checks
313###
314
315IF(NOT WIN32)
316    SET(MATHLIB "m")
317ENDIF(NOT WIN32)
318
319CONFIGURE_FILE("${PROJECT_SOURCE_DIR}/CLRX/Config.h.in"
320        "${PROJECT_BINARY_DIR}/CLRX/Config.h")
321
322OPTION(BUILD_TESTS "Compile tests" OFF)
323OPTION(BUILD_SAMPLES "Compile samples" OFF)
324OPTION(BUILD_STATIC_EXE "Compile static executables instead shared" OFF)
325
326IF(BUILD_STATIC_EXE)
327    SET(PROGRAM_LIB_SUFFIX "Static")
328ELSE(BUILD_STATIC_EXE)
329    SET(PROGRAM_LIB_SUFFIX "")
330ENDIF(BUILD_STATIC_EXE)
331
332IF(BUILD_TESTS)
333    ENABLE_TESTING()
334ENDIF(BUILD_TESTS)
335
336INCLUDE_DIRECTORIES(${OPENCL_INCLUDE_DIRS} ${PNG_INCLUDE_DIRS})
337
338LINK_DIRECTORIES("${OPENCL_LIBRARY_DIRS}")
339
340ADD_SUBDIRECTORY(CLRX)
341ADD_SUBDIRECTORY(utils)
342IF(HAVE_OPENCL AND NOT NO_CLWRAPPER)
343    ADD_SUBDIRECTORY(clwrapper)
344ENDIF(HAVE_OPENCL AND NOT NO_CLWRAPPER)
345ADD_SUBDIRECTORY(amdbin)
346ADD_SUBDIRECTORY(amdasm)
347IF (BUILD_TESTS)
348    ADD_SUBDIRECTORY(tests)
349ENDIF(BUILD_TESTS)
350
351ADD_SUBDIRECTORY(editors)
352ADD_SUBDIRECTORY(programs)
353IF (BUILD_SAMPLES AND HAVE_OPENCL)
354    ADD_SUBDIRECTORY(samples)
355ENDIF(BUILD_SAMPLES AND HAVE_OPENCL)
356
357ADD_SUBDIRECTORY(doc)
358
359SET(DOCINSTALLDIR share/doc/CLRX)
360INSTALL(FILES "${PROJECT_SOURCE_DIR}/AUTHORS" DESTINATION "${DOCINSTALLDIR}")
361INSTALL(FILES "${PROJECT_SOURCE_DIR}/CONTRIBUTORS" DESTINATION "${DOCINSTALLDIR}")
362INSTALL(FILES "${PROJECT_SOURCE_DIR}/COPYING" DESTINATION "${DOCINSTALLDIR}")
363INSTALL(FILES "${PROJECT_SOURCE_DIR}/ChangeLog" DESTINATION "${DOCINSTALLDIR}")
364INSTALL(FILES "${PROJECT_SOURCE_DIR}/COPYING.LIB" DESTINATION "${DOCINSTALLDIR}")
365INSTALL(FILES "${PROJECT_SOURCE_DIR}/COPYING.DOC" DESTINATION "${DOCINSTALLDIR}")
366INSTALL(FILES "${PROJECT_SOURCE_DIR}/INSTALL" DESTINATION "${DOCINSTALLDIR}")
367INSTALL(FILES "${PROJECT_SOURCE_DIR}/README" DESTINATION "${DOCINSTALLDIR}")
368INSTALL(FILES "${PROJECT_SOURCE_DIR}/README.md" DESTINATION "${DOCINSTALLDIR}")
Note: See TracBrowser for help on using the repository browser.