Skip to content

Don't use install location for RelWithDebInfo - #4212

Open
ryneeverett wants to merge 1 commit into
GothenburgBitFactory:developfrom
ryneeverett:fix-RelWithDebInfo-build
Open

ryneeverett wants to merge 1 commit into
GothenburgBitFactory:developfrom
ryneeverett:fix-RelWithDebInfo-build

Conversation

@ryneeverett

Copy link
Copy Markdown
Collaborator

The recommended CMAKE_BUILD_TYPE in development.md is RelWithDebInfo but if this is used the tests then fail with "Could not find file in CWD, directory of config file or search paths 'default.theme'." I believe this was an oversight in #4175.

Also fix some typos.

The recommended CMAKE_BUILD_TYPE in development.md is RelWithDebInfo but
if this is used the tests then fail with "Could not find file in CWD,
directory of config file or search paths 'default.theme'." I believe
this was an oversight in GothenburgBitFactory#4175.

Also fix some typos.
Comment thread src/CMakeLists.txt
if (CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo" OR CMAKE_BUILD_TYPE STREQUAL "Debug")
target_compile_definitions(task PRIVATE
-DTASK_TEST_RCDIR="${CMAKE_SOURCE_DIR}/doc/rc"
)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The amount of extra work around this hack to get tests working is kind of a bummer :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants