Skip to content

Commit

Permalink
Minor cleaning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Holt59 committed Aug 9, 2024
1 parent 01cf866 commit 1249766
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 24 deletions.
8 changes: 6 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ target_sources(lootcli
version.rc
${CMAKE_CURRENT_SOURCE_DIR}/../include/lootcli/lootcli.h
)
target_compile_definitions(lootcli PRIVATE _UNICODE UNICODE)
target_compile_definitions(lootcli
PRIVATE
_UNICODE UNICODE
_SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING)
target_include_directories(lootcli PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../include)
target_precompile_headers(lootcli PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/pch.h)
target_link_libraries(lootcli
Expand All @@ -46,14 +49,15 @@ if (MSVC)
target_compile_options(lootcli
PRIVATE
"/MP"
"/Wall"
"/W4"
"/external:anglebrackets"
"/external:W0"
)
target_link_options(lootcli
PRIVATE
$<$<CONFIG:RelWithDebInfo>:/LTCG /INCREMENTAL:NO /OPT:REF /OPT:ICF>
)
target_compile_definitions(lootcli PRIVATE _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING)

set_target_properties(lootcli PROPERTIES VS_STARTUP_PROJECT lootcli)
endif()
Expand Down
21 changes: 0 additions & 21 deletions vcpkg-configuration.json

This file was deleted.

23 changes: 22 additions & 1 deletion vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,26 @@
"name": "tomlplusplus",
"version": "3.1.0"
}
]
],
"vcpkg-configuration": {
"default-registry": {
"kind": "git",
"repository": "https://github.com/Microsoft/vcpkg",
"baseline": "8ae59b5b1329a51875abc71d528da93d9c3e8972"
},
"registries": [
{
"kind": "git",
"repository": "https://github.com/Microsoft/vcpkg",
"baseline": "8ae59b5b1329a51875abc71d528da93d9c3e8972",
"packages": ["boost*", "boost-*"]
},
{
"kind": "git",
"repository": "https://github.com/ModOrganizer2/vcpkg-registry",
"baseline": "84ff92223433d101738a3c6cef96fa6ae6a6f302",
"packages": ["libloot"]
}
]
}
}

0 comments on commit 1249766

Please sign in to comment.