Skip to content

Commit a0dac20

Browse files
committed
Merge branch 'cmake-3.15' into cmake-3.20
2 parents ff38b6d + 5ee52f6 commit a0dac20

File tree

7 files changed

+11
-12
lines changed

7 files changed

+11
-12
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ include(GenerateExportHeader)
125125
include(WriteCompilerDetectionHeader)
126126
```
127127
128-
129128
### Project Meta Information
130129
131130
The declaration of project-wide information--that are used, e.g., within documentation, testing, and deployment--, is combined within the project meta information section in the main `CMakeLists.txt`.

appveyor.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ branches:
44
- master
55
clone_folder: c:\projects\cmake-init
66
image:
7-
- Visual Studio 2013
87
- Visual Studio 2015
98
- Visual Studio 2017
9+
- Visual Studio 2019
1010
configuration:
1111
- Release
1212
- Debug
@@ -22,20 +22,20 @@ matrix:
2222
# skip unsupported combinations
2323
init:
2424
- set arch=
25-
- if "%arch%"=="Win64" ( set arch= Win64)
25+
- if "%arch%"=="Win64" ( set arch= x64)
2626
- echo %arch%
2727
- echo %APPVEYOR_BUILD_WORKER_IMAGE%
28-
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" ( set generator="Visual Studio 15 2017%arch%" )
29-
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" ( set generator="Visual Studio 14 2015%arch%" )
30-
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2013" ( set generator="Visual Studio 12 2013%arch%" )
28+
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" ( set generator="Visual Studio 15 2017" )
29+
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" ( set generator="Visual Studio 14 2015" )
30+
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2019" ( set generator="Visual Studio 16 2019" )
3131
- echo %generator%
3232

3333
before_build:
3434
- cmd: |-
3535
mkdir build
3636
cd build
3737
cmake --version
38-
cmake .. -G %generator%
38+
cmake .. -G %generator% -A %arch%
3939
4040
build:
4141
project: c:\projects\cmake-init\build\template.sln

source/baselib/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ target_compile_options(${target}
169169
# Linker options
170170
#
171171

172-
target_link_libraries(${target}
172+
target_link_options(${target}
173173
PRIVATE
174174

175175
PUBLIC

source/examples/fibcmd/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ target_compile_options(${target}
9999
# Linker options
100100
#
101101

102-
target_link_libraries(${target}
102+
target_link_options(${target}
103103
PRIVATE
104104
${DEFAULT_LINKER_OPTIONS}
105105
)

source/examples/fibgui/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ target_compile_options(${target}
122122
# Linker options
123123
#
124124

125-
target_link_libraries(${target}
125+
target_link_options(${target}
126126
PRIVATE
127127
${DEFAULT_LINKER_OPTIONS}
128128
)

source/fiblib/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ target_compile_options(${target}
171171
# Linker options
172172
#
173173

174-
target_link_libraries(${target}
174+
target_link_options(${target}
175175
PRIVATE
176176

177177
PUBLIC

source/tests/fiblib-test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ target_compile_options(${target}
9595
# Linker options
9696
#
9797

98-
target_link_libraries(${target}
98+
target_link_options(${target}
9999
PRIVATE
100100
${DEFAULT_LINKER_OPTIONS}
101101
)

0 commit comments

Comments
 (0)