Skip to content

Commit

Permalink
debug vcpkg path
Browse files Browse the repository at this point in the history
  • Loading branch information
NQNStudios committed Jun 10, 2024
1 parent bc17c01 commit 1ef7df0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,14 @@
run: '${{ github.workspace }}\.github\workflows\scripts\win\install-deps.bat x64',
working-directory: proj/vs2017
},
{
name: debug lib locations,
run: 'dir C:/vcpkg'
},
{
name: debug lib locations,
run: 'dir C:/vcpkg/installed/x64-windows'
},
{
name: build and unit test,
run: '.\.github\workflows\scripts\win\scons-build.bat'
Expand Down
2 changes: 2 additions & 0 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ elif platform == "win32":
for (root, dirs, files) in os.walk('src'):
project_includes.append(path.join(os.getcwd(), root))

print([path.join(vcpkg_installed, 'lib')])

include_paths=[path.join(vcpkg_installed, 'include')] + vcpkg_other_includes + project_includes
env.Append(
LINKFLAGS=['/SUBSYSTEM:WINDOWS','/ENTRY:mainCRTStartup',f'/MACHINE:X{env["bits"]}'],
Expand Down

0 comments on commit 1ef7df0

Please sign in to comment.