Skip to content

Commit 3dbf711

Browse files
committed
add mac lib
1 parent 9f65f56 commit 3dbf711

File tree

2 files changed

+118
-0
lines changed

2 files changed

+118
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#----------------------------------------------------------------
2+
# Generated CMake target import file for configuration "Debug".
3+
#----------------------------------------------------------------
4+
5+
# Commands may need to know the format version.
6+
set(CMAKE_IMPORT_FILE_VERSION 1)
7+
8+
# Import target "tigerapi::tigerapi" for configuration "Debug"
9+
set_property(TARGET tigerapi::tigerapi APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG)
10+
set_target_properties(tigerapi::tigerapi PROPERTIES
11+
IMPORTED_LINK_INTERFACE_LANGUAGES_DEBUG "CXX"
12+
IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/lib/libtigerapi.a"
13+
)
14+
15+
list(APPEND _IMPORT_CHECK_TARGETS tigerapi::tigerapi )
16+
list(APPEND _IMPORT_CHECK_FILES_FOR_tigerapi::tigerapi "${_IMPORT_PREFIX}/lib/libtigerapi.a" )
17+
18+
# Commands beyond this point should not need to know the version.
19+
set(CMAKE_IMPORT_FILE_VERSION)
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
# Generated by CMake
2+
3+
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.6)
4+
message(FATAL_ERROR "CMake >= 2.6.0 required")
5+
endif()
6+
cmake_policy(PUSH)
7+
cmake_policy(VERSION 2.6...3.21)
8+
#----------------------------------------------------------------
9+
# Generated CMake target import file.
10+
#----------------------------------------------------------------
11+
12+
# Commands may need to know the format version.
13+
set(CMAKE_IMPORT_FILE_VERSION 1)
14+
15+
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
16+
set(_targetsDefined)
17+
set(_targetsNotDefined)
18+
set(_expectedTargets)
19+
foreach(_expectedTarget tigerapi::tigerapi)
20+
list(APPEND _expectedTargets ${_expectedTarget})
21+
if(NOT TARGET ${_expectedTarget})
22+
list(APPEND _targetsNotDefined ${_expectedTarget})
23+
endif()
24+
if(TARGET ${_expectedTarget})
25+
list(APPEND _targetsDefined ${_expectedTarget})
26+
endif()
27+
endforeach()
28+
if("${_targetsDefined}" STREQUAL "${_expectedTargets}")
29+
unset(_targetsDefined)
30+
unset(_targetsNotDefined)
31+
unset(_expectedTargets)
32+
set(CMAKE_IMPORT_FILE_VERSION)
33+
cmake_policy(POP)
34+
return()
35+
endif()
36+
if(NOT "${_targetsDefined}" STREQUAL "")
37+
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_targetsDefined}\nTargets not yet defined: ${_targetsNotDefined}\n")
38+
endif()
39+
unset(_targetsDefined)
40+
unset(_targetsNotDefined)
41+
unset(_expectedTargets)
42+
43+
44+
# Compute the installation prefix relative to this file.
45+
get_filename_component(_IMPORT_PREFIX "tigerapiTargets.cmake" PATH)
46+
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
47+
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
48+
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
49+
if(_IMPORT_PREFIX STREQUAL ".")
50+
set(_IMPORT_PREFIX "")
51+
endif()
52+
53+
# Create imported target tigerapi::tigerapi
54+
add_library(tigerapi::tigerapi STATIC IMPORTED)
55+
56+
set_target_properties(tigerapi::tigerapi PROPERTIES
57+
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
58+
INTERFACE_LINK_LIBRARIES "-framework CoreFoundation;-framework Security;/usr/local/opt/openssl/lib/libssl.dylib;/usr/local/opt/openssl/lib/libcrypto.dylib;Boost::system;Boost::thread;Boost::log;Boost::program_options;Boost::chrono;/usr/local/lib/libcpprest.dylib;/usr/local/Cellar/zlib/1.2.12/lib/libz.dylib"
59+
)
60+
61+
if(CMAKE_VERSION VERSION_LESS 2.8.12)
62+
message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.")
63+
endif()
64+
65+
# Load information for each installed configuration.
66+
get_filename_component(_DIR "tigerapiTargets.cmake" PATH)
67+
file(GLOB CONFIG_FILES "${_DIR}/tigerapiTargets-*.cmake")
68+
foreach(f ${CONFIG_FILES})
69+
include(${f})
70+
endforeach()
71+
72+
# Cleanup temporary variables.
73+
set(_IMPORT_PREFIX)
74+
75+
# Loop over all imported files and verify that they actually exist
76+
foreach(target ${_IMPORT_CHECK_TARGETS} )
77+
foreach(file ${_IMPORT_CHECK_FILES_FOR_${target}} )
78+
if(NOT EXISTS "${file}" )
79+
message(FATAL_ERROR "The imported target \"${target}\" references the file
80+
\"${file}\"
81+
but this file does not exist. Possible reasons include:
82+
* The file was deleted, renamed, or moved to another location.
83+
* An install or uninstall procedure did not complete successfully.
84+
* The installation package was faulty and contained
85+
\"${CMAKE_CURRENT_LIST_FILE}\"
86+
but not all the files it references.
87+
")
88+
endif()
89+
endforeach()
90+
unset(_IMPORT_CHECK_FILES_FOR_${target})
91+
endforeach()
92+
unset(_IMPORT_CHECK_TARGETS)
93+
94+
# This file does not depend on other imported targets which have
95+
# been exported from the same project but in a separate export set.
96+
97+
# Commands beyond this point should not need to know the version.
98+
set(CMAKE_IMPORT_FILE_VERSION)
99+
cmake_policy(POP)

0 commit comments

Comments
 (0)