-
Notifications
You must be signed in to change notification settings - Fork 1
/
clibcdcConfig.cmake.in
52 lines (39 loc) · 2.2 KB
/
clibcdcConfig.cmake.in
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
@PACKAGE_INIT@
# @GENERATED_FILE_WARNING@
#---------------------------------------------------------------------------------------------------
# Automatically exported variables.
# CMake modules path.
set(@PROJECT_NAME@_CMAKE_MODULE_PATH "@PROJECT_CMAKE_MODULE_PATH@")
# Cxx compiler flags.
set(@PROJECT_NAME@_CXX_FLAGS "@PROJECT_CMAKE_CXX_FLAGS@")
set(@PROJECT_NAME@_CXX_FLAGS_RELEASE "@PROJECT_CMAKE_CXX_FLAGS_RELEASE@")
set(@PROJECT_NAME@_CXX_FLAGS_DEBUG "@PROJECT_CMAKE_CXX_FLAGS_DEBUG@")
# C compiler flags.
set(@PROJECT_NAME@_C_FLAGS "@PROJECT_CMAKE_C_FLAGS@")
set(@PROJECT_NAME@_C_FLAGS_RELEASE "@PROJECT_CMAKE_C_FLAGS_RELEASE@")
set(@PROJECT_NAME@_C_FLAGS_DEBUG "@PROJECT_CMAKE_C_FLAGS_DEBUG@")
# CMake source input/binary output directories.
set(@PROJECT_NAME@_CMAKE_SOURCE_DIR "@CMAKE_SOURCE_DIR@")
set(@PROJECT_NAME@_CMAKE_BINARY_DIR "@CMAKE_BINARY_DIR@")
set(@PROJECT_NAME@_CMAKE_ARCHIVE_OUTPUT_DIRECTORY "@CMAKE_ARCHIVE_OUTPUT_DIRECTORY@")
set(@PROJECT_NAME@_CMAKE_LIBRARY_OUTPUT_DIRECTORY "@CMAKE_LIBRARY_OUTPUT_DIRECTORY@")
set(@PROJECT_NAME@_CMAKE_RUNTIME_OUTPUT_DIRECTORY "@CMAKE_RUNTIME_OUTPUT_DIRECTORY@")
#---------------------------------------------------------------------------------------------------
# Manually specified exported variables.
# Include directories (directories with include header files).
set(@PROJECT_NAME@_INCLUDE_DIRS
"${@PROJECT_NAME@_CMAKE_SOURCE_DIR}/include")
#---------------------------------------------------------------------------------------------------
# Actions performed on find_package(...).
# Automatically set library directories.
link_directories(${@PROJECT_NAME@_CMAKE_ARCHIVE_OUTPUT_DIRECTORY})
link_directories(${@PROJECT_NAME@_CMAKE_LIBRARY_OUTPUT_DIRECTORY}) # Needed also, on some platforms.
if(@PROJECT_NAME@_INCLUDE_DIRS)
SET(@PROJECT_NAME@_FOUND TRUE)
MESSAGE(STATUS "Found @PROJECT_NAME@: ${@PROJECT_NAME@_INCLUDE_DIRS}")
else()
MESSAGE(FATAL_ERROR "Could not find @PROJECT_NAME@")
endif()
# Note:
# Use include_directories(${@PROJECT_NAME@_INCLUDE_DIRS}) to add include directories.
# Use target_link_libraries(*YOUR_TARGET* ${@PROJECT_NAME@_LIBRARIES}) to link libraries to your target.