Skip to content
This repository has been archived by the owner on Apr 25, 2022. It is now read-only.

Add support for Visual Studio compilation using vcpkg for dependencies #196

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

ghost
Copy link

@ghost ghost commented Sep 26, 2021

Some compilation and CMake fixes to allow the project to be built with Visual Studio 2019.

I also made building the test suite optional and turned it off by default.

@@ -90,7 +95,6 @@ endif()
configure_file("${CMAKE_SOURCE_DIR}/src/version.h.in" "${CMAKE_BINARY_DIR}/generated/version.h" @ONLY)
include_directories(${CMAKE_BINARY_DIR}/generated)

set(CMAKE_SOURCE_DIR "${CMAKE_BINARY_DIR}/../")
Copy link
Author

@ghost ghost Sep 26, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why this line was added in the first place, but it is problematic because Visual Studio places the binary directory several levels deeper. It's also completely redundant as far as I can see.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants