Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
f46f8b8d
Commit
f46f8b8d
authored
Jan 10, 2019
by
Jan Möbius
Browse files
Include dependency for mutli configuration generators with type
parent
cf89ed29
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake/type.cmake
View file @
f46f8b8d
...
...
@@ -64,9 +64,10 @@ acg_drop_templates (sources)
acg_add_library
(
${
TYPENAME
}
SHARED
${
ui
}
${
sources
}
${
headers
}
)
set_target_properties
(
${
TYPENAME
}
PROPERTIES MACOSX_RPATH 0
)
# Allow targets depending on
ACG
find the autogenerated header files
# Allow targets depending on
the current type
find the autogenerated header files
from uic
target_include_directories
(
${
TYPENAME
}
PUBLIC
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
TYPENAME
}
_autogen/include
)
$<$<CONFIG:Debug>:
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
TYPENAME
}
_autogen/include_Debug/>
$<$<CONFIG:Release>:
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
TYPENAME
}
_autogen/include_Release/>
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment