-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakeLists.txt
402 lines (370 loc) · 17.1 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
#MIT License
#
# Copyright (c) 2019 NeonTechnologies
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
set(CEF_TARGET "neon")
project(${CEF_TARGET})
find_package(Hg)
find_package(Git)
set(PRE_CONFIGURE_FILE "${CMAKE_SOURCE_DIR}/version.h.in")
set(POST_CONFIGURE_FILE "${CMAKE_SOURCE_DIR}/include/version.h")
include(${CMAKE_SOURCE_DIR}/git_watcher.cmake)
if (WIN32)
if(EXISTS "C:/Program Files (x86)/7-Zip/7z.exe")
SET (7ZIP_EXECUTABLE "C:/Program Files (x86)/7-Zip/7z.exe")
elseif(EXISTS "C:/Program Files/7-Zip/7z.exe")
SET (7ZIP_EXECUTABLE "C:/Program Files/7-Zip/7z.exe")
endif()
else()
SET (7ZIP_EXECUTABLE "7z")
endif()
# specify which version you need
# Set a default build type if none was specified
macro(use_cxx11)
if (CMAKE_VERSION VERSION_LESS "3.1")
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11")
endif ()
else ()
set (CMAKE_CXX_STANDARD 11)
endif ()
endmacro(use_cxx11)
#use_cxx11()
set(default_build_type "Debug")
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
link_directories(${CMAKE_SOURCE_DIR}/lib/Debug)
elseif (CMAKE_BUILD_TYPE STREQUAL "Release")
link_directories(${CMAKE_SOURCE_DIR}/lib/Release)
else()
set(CMAKE_BUILD_TYPE "Debug")
link_directories(${CMAKE_SOURCE_DIR}/lib/Debug)
endif()
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
link_directories(${CMAKE_SOURCE_DIR}/lib/Debug)
set(build_type "_d")
set(build_type2 "d")
else()
set(build_type "")
set(build_type2 "")
endif()
message("XYXYXYXYXYX ${CMAKE_BUILD_TYPE} mode XYXYXYXYX")
#[[
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/lib)
set(CMAKE_BINARY_DIR ${CMAKE_SOURCE_DIR}/bin)
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/bin)
]]
#http://opensource.spotify.com/cefbuilds/index.html#windows32_builds
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
# 64 bits
if(WIN32)
set(CEF_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/cef_binary_76.1.13+gf19c584+chromium-76.0.3809.132_windows64")
set(CEF_BINARY_LINK "http://opensource.spotify.com/cefbuilds/cef_binary_76.1.13%2Bgf19c584%2Bchromium-76.0.3809.132_windows64.tar.bz2")
set(FFMPEG_BINARY_LINK "https://github.com/kenkit/Cloud_Commander_UI/blob/master/ffmpeg_dependancies.zip?raw=true")
set(Ogre_zip ${CMAKE_CURRENT_SOURCE_DIR}/Latest_ogre.zip)
else()
set(CEF_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/cef_binary_76.1.13+gf19c584+chromium-76.0.3809.132_linux64")
set(CEF_BINARY_LINK "http://opensource.spotify.com/cefbuilds/cef_binary_76.1.13%2Bgf19c584%2Bchromium-76.0.3809.132_linux64.tar.bz2")
set(FFMPEG_BINARY_LINK "https://github.com/kenkit/Cloud_Commander_UI/blob/master/FFmpeg_linux.zip?raw=true")
set(Ogre_zip ${CMAKE_CURRENT_SOURCE_DIR}/Latest_ogre.zip)
set(OGRE_ZIP_URL "https://github.com/kenkit/Cloud_Commander_UI/blob/master/ogre_linux.zip?raw=true")
endif()
message("64 BIT MACHINE")
elseif(CMAKE_SIZEOF_VOID_P EQUAL 4)
if(WIN32)
set(CEF_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/cef_binary_76.1.13+gf19c584+chromium-76.0.3809.132_windows32")
set(CEF_BINARY_LINK "http://opensource.spotify.com/cefbuilds/cef_binary_76.1.13%2Bgf19c584%2Bchromium-76.0.3809.132_windows32.tar.bz2")
set(FFMPEG_BINARY_LINK "https://github.com/kenkit/Cloud_Commander_UI/blob/master/ffmpeg_dependancies.zip?raw=true")
set(Ogre_zip ${CMAKE_CURRENT_SOURCE_DIR}/Latest_ogre.zip)
else()
set(CEF_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/cef_binary_76.1.13+gf19c584+chromium-76.0.3809.132_linux32")
set(CEF_BINARY_LINK "http://opensource.spotify.com/cefbuilds/cef_binary_76.1.13%2Bgf19c584%2Bchromium-76.0.3809.132_linux32.tar.bz2")
set(FFMPEG_BINARY_LINK "https://github.com/kenkit/Cloud_Commander_UI/blob/master/FFmpeg_linux.zip?raw=true")
set(Ogre_zip ${CMAKE_CURRENT_SOURCE_DIR}/Latest_ogre.zip)
set(OGRE_ZIP_URL "https://github.com/kenkit/Cloud_Commander_UI/blob/master/ogre_linux.zip?raw=true")
endif()
message("32 BIT MACHINE")
endif()
message("CEF ROOT IS:${CEF_ROOT}")
if(EXISTS "${CEF_ROOT}" AND NOT FORCE_OPERATIONS)
message("Found existing cef binary dir(${CEF_ROOT}), not extracting")
else()
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/cef_binary.tar.bz AND NOT FORCE_OPERATIONS)
message("Found existing binary archive(${CMAKE_CURRENT_SOURCE_DIR}/cef_binary.tar.bz), not downloading" )
else()
message("Downloading cef binaries from:${CEF_BINARY_LINK}" )
file(DOWNLOAD "${CEF_BINARY_LINK}" ${CMAKE_CURRENT_SOURCE_DIR}/cef_binary.tar.bz SHOW_PROGRESS STATUS status)
list(GET status 0 status_code)
list(GET status 1 status_string)
if(NOT status_code EQUAL 0)
message(WARN "error: downloading failed
status_code: ${status_code}
status_string: ${status_string}")
else()
message("Download succeeded")
endif()
endif()
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/cef_binary.tar.bz" OR FORCE_OPERATIONS)
if (WIN32)
message("Extracting cef_binary.tar.bz")
execute_process(
COMMAND ${7ZIP_EXECUTABLE} x -y -r cef_binary.tar.bz
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)
message("Extracting cef_binary.tar")
execute_process(
COMMAND ${7ZIP_EXECUTABLE} x -y -r cef_binary.tar
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)
else()
message("Extracting cef_binary.tar.bz")
execute_process(
COMMAND ${CMAKE_COMMAND} -E tar xzf cef_binary.tar.bz
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)
endif()
else()
message("Could not find:${CMAKE_CURRENT_SOURCE_DIR}/cef_binary.tar.bz")
endif()
endif()
#/////////////////////////////////////////////////////////////////////////////
message("Setting CMAKE_MODULE_PATH TO :${CEF_ROOT}/cmake")
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CEF_ROOT}/cmake")
execute_process(
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_SOURCE_DIR}/patch_files/cef_macros.cmake ${CEF_ROOT}/cmake/cef_macros.cmake
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
execute_process(
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_SOURCE_DIR}/patch_files/cef_variables.cmake ${CEF_ROOT}/cmake/cef_variables.cmake
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
if (POLICY CMP0074)
cmake_policy(SET CMP0074 NEW)
endif()
find_package(CEF REQUIRED)
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/SDL" AND NOT FORCE_OPERATIONS)
message("Found SDL ${CMAKE_CURRENT_SOURCE_DIR}/SDL")
message("Pulling SDL")
execute_process(
COMMAND ${HG_EXECUTABLE} pull
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/SDL)
else()
message("no sdl found")
message("cloning a fresh....")
if(DOWNLOAD_SDL2)
set(SLD_DEP_LINK "https://github.com/kenkit/Cloud_Commander_UI/blob/master/sdl_2.tar.gz?raw=true")
message("Downloading sdl from:${SLD_DEP_LINK}" )
file(DOWNLOAD "${SLD_DEP_LINK}" ${CMAKE_CURRENT_SOURCE_DIR}/sdl_2.tar.gz SHOW_PROGRESS STATUS status)
list(GET status 0 status_code)
list(GET status 1 status_string)
if(NOT status_code EQUAL 0)
message(WARN "error: downloading failed
status_code: ${status_code}
status_string: ${status_string}")
else()
if(WIN32)
message("Extracting with ${7ZIP_EXECUTABLE} x -y -r sdl_2.tar.gz ")
execute_process(
COMMAND ${7ZIP_EXECUTABLE} x -y -r sdl_2.tar.gz
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)
message("Extracting with ${7ZIP_EXECUTABLE} x -y -r sdl_2.tar")
execute_process(
COMMAND ${7ZIP_EXECUTABLE} x -y -r sdl_2.tar
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)
else()
message("Extracting with ${7ZIP_EXECUTABLE} x -y -r sdl_2.tar.gz ")
execute_process(
COMMAND ${7ZIP_EXECUTABLE} x -y -r sdl_2.tar.gz
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)
message("Extracting with ${7ZIP_EXECUTABLE} x -y -r sdl_2.tar")
execute_process(
COMMAND ${7ZIP_EXECUTABLE} x -y -r sdl_2.tar
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)
endif()
endif()
else()
execute_process(
COMMAND ${HG_EXECUTABLE} clone https://hg.libsdl.org/SDL SDL
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
endif()
endif()
message("Creating SDL2 build directory:${CMAKE_CURRENT_SOURCE_DIR}/SDL/build")
execute_process(
COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_CURRENT_SOURCE_DIR}/SDL/build
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/SDL/
)
message("Generating sdl2 sources")
execute_process(
COMMAND ${CMAKE_COMMAND} -G ${CMAKE_GENERATOR} ../ -DCMAKE_INSTALL_PREFIX=${CMAKE_CURRENT_SOURCE_DIR}/SDL/build/install -DCMAKE_BUILD_TYPE=Release
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/SDL/build)
message("building sdl2 from sources")
execute_process(
COMMAND ${CMAKE_COMMAND} --build build --config Release
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/SDL)
if(NOT WIN32)
message("installing sdl2 to:${CMAKE_CURRENT_SOURCE_DIR}/SDL/build/")
execute_process(
COMMAND make install
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/SDL/build/)
else()
message("building sdl2 from sources")
execute_process(
COMMAND ${CMAKE_COMMAND} --build build --target Install --config Release
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/SDL)
endif()
if(WIN32)
set(SDL2_DIR ${CMAKE_CURRENT_SOURCE_DIR}/SDL/build/install/cmake)
else()
set(SDL2_DIR ${CMAKE_CURRENT_SOURCE_DIR}/SDL/build/install/lib/cmake/SDL2)
endif()
find_package(SDL2 REQUIRED)
set(CEFSIMPLE_SRCS
${CMAKE_SOURCE_DIR}/src/main.cpp
)
include_directories(
include
${CMAKE_CURRENT_SOURCE_DIR}/SDL/build/install/include
)
#
# Windows configuration.
#
# Executable target.
add_subdirectory(${CEF_ROOT}/libcef_dll libcef_dll_wrapper)
add_executable(${CEF_TARGET} WIN32 ${CEFSIMPLE_SRCS} ${CMAKE_SOURCE_DIR}/resource.rc )
add_dependencies(${CEF_TARGET} libcef_dll_wrapper AlwaysCheckGit )
ADD_LOGICAL_TARGET(libcef_lib ${CEF_LIB_DEBUG} ${CEF_LIB_RELEASE})
SET_EXECUTABLE_TARGET_PROPERTIES(${CEF_TARGET})
#include_directories(D:/Programming/cef)
set(USE_SANDBOX FALSE)
if(USE_SANDBOX)
# Logical target used to link the cef_sandbox library.
ADD_LOGICAL_TARGET("cef_sandbox_lib" "${CEF_SANDBOX_LIB_DEBUG}" "${CEF_SANDBOX_LIB_RELEASE}")
target_link_libraries(${CEF_TARGET} cef_sandbox_lib ${CEF_SANDBOX_STANDARD_LIBS} )
else()
target_link_libraries(${CEF_TARGET} libcef_lib libcef_dll_wrapper ${CEF_STANDARD_LIBS} SDL2::SDL2 SDL2::SDL2main )
endif()
# Add the custom manifest files to the executable.
# ADD_WINDOWS_MANIFEST("${CMAKE_CURRENT_SOURCE_DIR}" "${CEF_TARGET}" "exe")
# Copy binary and resource files to the target output directory.
# COPY_FILES("${CEF_TARGET}" "${CEF_BINARY_FILES}" "${CEF_BINARY_DIR}" $<TARGET_FILE_DIR:${CEF_TARGET}>)
#COPY_FILES("${CEF_TARGET}" "${CEF_RESOURCE_FILES}" "${CEF_RESOURCE_DIR}" $<TARGET_FILE_DIR:${CEF_TARGET}>)
if(WIN32)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/SDL/build/install/bin/SDL2${build_type2}.dll DESTINATION .)
endif()
FOREACH(file ${CEF_BINARY_FILES})
if(NOT ${file} STREQUAL "swiftshader")
if(${file} STREQUAL "d3dcompiler_43.dll")
message("Not installing ${file}")
else()
message("Install :${CEF_BINARY_DIR}/${file}")
install(FILES "${CEF_BINARY_DIR}/${file}" DESTINATION .)
endif()
else()
message("Install :${CEF_BINARY_DIR}/${file}")
install(DIRECTORY "${CEF_BINARY_DIR}/${file}"DESTINATION .)
endif()
ENDFOREACH()
FOREACH(file ${CEF_RESOURCE_FILES})
if(NOT ${file} STREQUAL "locales")
message("Install :${CEF_RESOURCE_DIR}/${file}")
install(FILES "${CEF_RESOURCE_DIR}/${file}" DESTINATION .)
else()
message("Install :${CEF_RESOURCE_DIR}/${file}")
install(DIRECTORY "${CEF_RESOURCE_DIR}/${file}" DESTINATION .)
endif()
ENDFOREACH()
PRINT_CEF_CONFIG()
#[[
if(WIN32)
add_custom_target(
package_project ALL
COMMENT "packaging project into zip file with:${7ZIP_EXECUTABLE} a -bb3 ${CMAKE_CURRENT_SOURCE_DIR}/NeonTech.zip *"
COMMAND ${7ZIP_EXECUTABLE} a -bb3 ${CMAKE_CURRENT_SOURCE_DIR}/NeonTech.zip *
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/bin/${CMAKE_BUILD_TYPE}
)
else()
add_custom_target(
package_project ALL
COMMENT "packaging project into zip file with:tar -czvf ${CMAKE_CURRENT_SOURCE_DIR}/NeonTech.zip *"
COMMAND tar -czvf ${CMAKE_CURRENT_SOURCE_DIR}/NeonTech.zip *
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/bin/${CMAKE_BUILD_TYPE}
)
endif()
add_dependencies(package_project ${CEF_TARGET})
]]
install(TARGETS ${CEF_TARGET}
RUNTIME
DESTINATION .
#COMPONENT applications
)
install(DIRECTORY $<TARGET_FILE_DIR:${CEF_TARGET}>/ DESTINATION .
#COMPONENT ResourceFiles
)
# Package Generator #######################################################
#set(CPACK_COMPONENT_ALL ResourceFiles)
#set(CPACK_COMPONENT_ALL applications)
set(CPACK_GENERATOR "WIX")
set(CPACK_PACKAGE_NAME "NeonInstaller")
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Neon User Interface")
set(CPACK_PACKAGE_VENDOR "Neon Intelligence Technologies Inc")
SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README.md")
SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.txt")
set(CPACK_PACKAGE_VERSION_MAJOR "${MY_PROGRAM_VERSION_MAJOR}")
set(CPACK_PACKAGE_VERSION_MINOR "${MY_PROGRAM_VERSION_MINOR}")
set(CPACK_PACKAGE_VERSION_PATCH "${MY_PROGRAM_VERSION_PATCH}")
message("Version :${MY_PROGRAM_VERSION_MAJOR}.${MY_PROGRAM_VERSION_MINOR}.${MY_PROGRAM_VERSION_PATCH}")
set(CPACK_PACKAGE_INSTALL_DIRECTORY "Neon")
IF(WIN32 AND NOT UNIX)
# There is a bug in NSI that does not handle full unix paths properly. Make
# sure there is at least one set of four (4) backlasshes.
set(CPACK_WIX_PRODUCT_ICON
"${CMAKE_CURRENT_SOURCE_DIR}/icon.ico"
)
set_property(INSTALL ${CEF_TARGET}
PROPERTY CPACK_START_MENU_SHORTCUTS "neon"
)
set(CPACK_CREATE_DESKTOP_LINKS ${CEF_TARGET})
set(CPACK_PACKAGE_EXECUTABLES ${CEF_TARGET} "neon")
set(CPACK_CREATE_DESKTOP_LINKS ${CEF_TARGET})
set(CPACK_WIX_PROGRAM_MENU_FOLDER "Neon App")
set(CPACK_WIX_UPGRADE_GUID "E1A2302C-DA02-4240-A762-6946456C2985")
set(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "
CreateShortCut \\\"$DESKTOP\\\\${CEF_TARGET}.lnk\\\" \\\"$INSTDIR\\\\${CEF_TARGET}.exe\\\"
")
set(CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS "
Delete \\\"$DESKTOP\\\\${CEF_TARGET}.lnk\\\"
")
set(CPACK_PACKAGE_ICON "${CMAKE_CURRENT_SOURCE_DIR}/\\\\icon.ico")
#SET(CPACK_NSIS_INSTALLED_ICON_NAME "neon.exe")
SET(CPACK_NSIS_DISPLAY_NAME "Neon")
SET(CPACK_NSIS_HELP_LINK "https://github.com/kenkit/neon/issues")
SET(CPACK_NSIS_URL_INFO_ABOUT "https://neonintelligence.com/")
SET(CPACK_NSIS_CONTACT "[email protected]")
SET(CPACK_NSIS_MODIFY_PATH OFF)
#[[
set(CPACK_NSIS_MENU_LINKS
"doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake.html" "CMake Help"
"http://www.cmake.org" "CMake Web Site")]]
ENDIF(WIN32 AND NOT UNIX)
set(CPACK_PACKAGE_CONTACT "[email protected]")
#set(CPACK_WIX_PATCH_FILE "${CMAKE_CURRENT_SOURCE_DIR}/after_install.xml")
INCLUDE(CPack)