File tree Expand file tree Collapse file tree 9 files changed +9
-21
lines changed
Modelica_DeviceDrivers/Resources Expand file tree Collapse file tree 9 files changed +9
-21
lines changed Original file line number Diff line number Diff line change @@ -3,19 +3,13 @@ message(STATUS "WRITING BUILD FILES FOR DummyUser32Library")
3
3
4
4
set (libSrcsMDDDummyUser32Library MDDDummyUser32Library.c )
5
5
6
- add_library (User32 SHARED ${libSrcsMDDDummyUser32Library} )
6
+ add_library (User32 STATIC ${libSrcsMDDDummyUser32Library} )
7
7
8
8
# install to directory (CMAKE_INSTALL_PREFIX) into subdirectory "lib"
9
9
if ( CMAKE_SIZEOF_VOID_P EQUAL 8 )
10
- install (TARGETS rt DESTINATION Library/linux64 )
10
+ install (TARGETS User32 DESTINATION Library/linux64 )
11
11
elseif ( CMAKE_SIZEOF_VOID_P EQUAL 4 )
12
- install (TARGETS rt DESTINATION Library/linux32 )
12
+ install (TARGETS User32 DESTINATION Library/linux32 )
13
13
else ( CMAKE_SIZEOF_VOID_P EQUAL 8 )
14
14
message (SEND_ERROR "Uups. Shouldn't be possible to get here" )
15
15
endif ( CMAKE_SIZEOF_VOID_P EQUAL 8 )
16
-
17
-
18
-
19
-
20
-
21
-
Original file line number Diff line number Diff line change @@ -3,13 +3,13 @@ message(STATUS "WRITING BUILD FILES FOR DummyWinmmLibrary")
3
3
4
4
set (libSrcsMDDDummyWinmmLibrary MDDDummyWinmmLibrary.c )
5
5
6
- add_library (Winmm SHARED ${libSrcsMDDDummyWinmmLibrary} )
6
+ add_library (Winmm STATIC ${libSrcsMDDDummyWinmmLibrary} )
7
7
8
8
# install to directory (CMAKE_INSTALL_PREFIX) into subdirectory "lib"
9
9
if ( CMAKE_SIZEOF_VOID_P EQUAL 8 )
10
- install (TARGETS rt DESTINATION Library/linux64 )
10
+ install (TARGETS Winmm DESTINATION Library/linux64 )
11
11
elseif ( CMAKE_SIZEOF_VOID_P EQUAL 4 )
12
- install (TARGETS rt DESTINATION Library/linux32 )
12
+ install (TARGETS Winmm DESTINATION Library/linux32 )
13
13
else ( CMAKE_SIZEOF_VOID_P EQUAL 8 )
14
14
message (SEND_ERROR "Uups. Shouldn't be possible to get here" )
15
15
endif ( CMAKE_SIZEOF_VOID_P EQUAL 8 )
Original file line number Diff line number Diff line change @@ -3,19 +3,13 @@ message(STATUS "WRITING BUILD FILES FOR DummyWs2_32Library")
3
3
4
4
set (libSrcsMDDDummyWs2_32Library MDDDummyWs2_32Library.c )
5
5
6
- add_library (Ws2_32 SHARED ${libSrcsMDDDummyWs2_32Library} )
6
+ add_library (Ws2_32 STATIC ${libSrcsMDDDummyWs2_32Library} )
7
7
8
8
# install to directory (CMAKE_INSTALL_PREFIX) into subdirectory "lib"
9
9
if ( CMAKE_SIZEOF_VOID_P EQUAL 8 )
10
- install (TARGETS rt DESTINATION Library/linux64 )
10
+ install (TARGETS Ws2_32 DESTINATION Library/linux64 )
11
11
elseif ( CMAKE_SIZEOF_VOID_P EQUAL 4 )
12
- install (TARGETS rt DESTINATION Library/linux32 )
12
+ install (TARGETS Ws2_32 DESTINATION Library/linux32 )
13
13
else ( CMAKE_SIZEOF_VOID_P EQUAL 8 )
14
14
message (SEND_ERROR "Uups. Shouldn't be possible to get here" )
15
15
endif ( CMAKE_SIZEOF_VOID_P EQUAL 8 )
16
-
17
-
18
-
19
-
20
-
21
-
You can’t perform that action at this time.
0 commit comments