mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 15:45:38 +00:00
(Windows) The NSIS installer now works when building with MSVC.
This commit is contained in:
parent
56cc17d7a1
commit
776554c80b
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -44,6 +44,7 @@ CMakeFiles
|
||||||
cmake_install.cmake
|
cmake_install.cmake
|
||||||
Makefile
|
Makefile
|
||||||
install_manifest.txt
|
install_manifest.txt
|
||||||
|
EmulationStation.exe.manifest
|
||||||
|
|
||||||
# CPack
|
# CPack
|
||||||
_CPack_Packages
|
_CPack_Packages
|
||||||
|
|
|
@ -109,7 +109,6 @@ elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
||||||
endif()
|
endif()
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
set(CMAKE_CXX_FLAGS "-mwindows ${CMAKE_CXX_FLAGS}")
|
set(CMAKE_CXX_FLAGS "-mwindows ${CMAKE_CXX_FLAGS}")
|
||||||
# set(CMAKE_CXX_FLAGS "-static-libstdc++ -static-libgcc ${CMAKE_CXX_FLAGS}")
|
|
||||||
endif()
|
endif()
|
||||||
elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
|
elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
|
||||||
message("-- Compiler is MSVC")
|
message("-- Compiler is MSVC")
|
||||||
|
@ -262,7 +261,7 @@ elseif(WIN32)
|
||||||
"${PROJECT_SOURCE_DIR}/FreeImage.lib"
|
"${PROJECT_SOURCE_DIR}/FreeImage.lib"
|
||||||
"${PROJECT_SOURCE_DIR}/glew32.lib"
|
"${PROJECT_SOURCE_DIR}/glew32.lib"
|
||||||
"${PROJECT_SOURCE_DIR}/libcurl-x64.lib"
|
"${PROJECT_SOURCE_DIR}/libcurl-x64.lib"
|
||||||
"${PROJECT_SOURCE_DIR}/freetyped.lib"
|
"${PROJECT_SOURCE_DIR}/freetype.lib"
|
||||||
"${PROJECT_SOURCE_DIR}/pugixml.lib"
|
"${PROJECT_SOURCE_DIR}/pugixml.lib"
|
||||||
"${PROJECT_SOURCE_DIR}/SDL2main.lib"
|
"${PROJECT_SOURCE_DIR}/SDL2main.lib"
|
||||||
"${PROJECT_SOURCE_DIR}/libvlc.lib"
|
"${PROJECT_SOURCE_DIR}/libvlc.lib"
|
||||||
|
|
|
@ -117,8 +117,9 @@ if(WIN32)
|
||||||
install(TARGETS EmulationStation RUNTIME DESTINATION .)
|
install(TARGETS EmulationStation RUNTIME DESTINATION .)
|
||||||
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
|
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
|
||||||
install(FILES ../FreeImage.dll ../glew32.dll ../libcrypto-1_1-x64.dll ../libcurl-x64.dll
|
install(FILES ../FreeImage.dll ../glew32.dll ../libcrypto-1_1-x64.dll ../libcurl-x64.dll
|
||||||
../freetyped.dll ../pugixml.dll ../libssl-1_1-x64.dll ../libvlc.dll
|
../freetype.dll ../pugixml.dll ../libssl-1_1-x64.dll ../libvlc.dll
|
||||||
../libvlccore.dll ../SDL2.dll DESTINATION .)
|
../libvlccore.dll ../SDL2.dll ../MSVCP140.dll ../VCOMP140.DLL ../VCRUNTIME140.dll
|
||||||
|
../VCRUNTIME140_1.dll DESTINATION .)
|
||||||
else()
|
else()
|
||||||
install(FILES ../FreeImage.dll ../glew32.dll ../libcrypto-1_1-x64.dll ../libcurl-x64.dll
|
install(FILES ../FreeImage.dll ../glew32.dll ../libcrypto-1_1-x64.dll ../libcurl-x64.dll
|
||||||
../libfreetype.dll ../libgcc_s_seh-1.dll ../libpugixml.dll ../libssl-1_1-x64.dll
|
../libfreetype.dll ../libgcc_s_seh-1.dll ../libpugixml.dll ../libssl-1_1-x64.dll
|
||||||
|
|
Loading…
Reference in a new issue