-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathFsl.gen
More file actions
45 lines (45 loc) · 2.54 KB
/
Copy pathFsl.gen
File metadata and controls
45 lines (45 loc) · 2.54 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<FslBuildGen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../FslBuildGen.xsd">
<ExternalLibrary Name="Recipe.GTest_1_17" CreationYear="2017">
<Default.Platform.Supported Value="false"/>
<Requirement Name="GoogleUnitTest" Type="feature"/>
<Platform Name="Ubuntu" Supported="true">
<ExperimentalRecipe Name="GTest" Version="1.17" FindTargetName="GTest::GTest GTest::Main">
<Pipeline>
<Download URL="https://github.com/google/googletest/releases/download/v1.17.0/googletest-1.17.0.tar.gz" To="googletest-1.17.0.tar.gz" Hash="65fab701d9829d38cb77c14acdc431d2108bfdbf8979e40eb8ae567edf10b27c"/>
<Unpack File="googletest-1.17.0.tar.gz" OutputPath="googletest-1.17.0"/>
<Copy>
<GitApply From="{RECIPE_PATH}/changes-debug.patch"/>
</Copy>
<CMakeBuild Project="googletest-distribution" Target="install" Configuration="release" Options="-Dgtest_force_shared_crt=ON" OutputPath="_Install"/>
</Pipeline>
<Installation>
<AddHeaders Name="include"/>
<AddLib Name="lib/libgtest.a"/>
<AddLib Name="lib/libgmock.a"/>
<AddLib Name="lib/libgtest_main.a"/>
<Path Name="include/gtest/gtest.h" Method="IsFile"/>
</Installation>
</ExperimentalRecipe>
</Platform>
<Platform Name="Windows" Supported="true">
<ExperimentalRecipe Name="GTest" Version="1.17" FindTargetName="GTest::GTest GTest::Main" Find="true">
<Pipeline>
<Download URL="https://github.com/google/googletest/releases/download/v1.17.0/googletest-1.17.0.tar.gz" To="googletest-1.17.0.tar.gz" Hash="65fab701d9829d38cb77c14acdc431d2108bfdbf8979e40eb8ae567edf10b27c"/>
<Unpack File="googletest-1.17.0.tar.gz" OutputPath="googletest-1.17.0"/>
<Copy>
<GitApply From="{RECIPE_PATH}/changes-debug.patch"/>
</Copy>
<CMakeBuild Project="googletest-distribution" Target="install" Configuration="debug;release" Options="-Dgtest_force_shared_crt=ON" OutputPath="_Install"/>
</Pipeline>
<Installation>
<AddHeaders Name="include"/>
<AddLib Name="lib/gtest.lib" DebugName="lib/gtestd.lib"/>
<AddLib Name="lib/gmock.lib" DebugName="lib/gmockd.lib"/>
<AddLib Name="lib/gtest_main.lib" DebugName="lib/gtest_maind.lib"/>
<Path Name="include/gtest/gtest.h" Method="IsFile"/>
</Installation>
</ExperimentalRecipe>
</Platform>
</ExternalLibrary>
</FslBuildGen>