Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
f46f8b8d
Commit
f46f8b8d
authored
Jan 10, 2019
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include dependency for mutli configuration generators with type
parent
cf89ed29
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
cmake/type.cmake
cmake/type.cmake
+3
-2
No files found.
cmake/type.cmake
View file @
f46f8b8d
...
@@ -64,9 +64,10 @@ acg_drop_templates (sources)
...
@@ -64,9 +64,10 @@ acg_drop_templates (sources)
acg_add_library
(
${
TYPENAME
}
SHARED
${
ui
}
${
sources
}
${
headers
}
)
acg_add_library
(
${
TYPENAME
}
SHARED
${
ui
}
${
sources
}
${
headers
}
)
set_target_properties
(
${
TYPENAME
}
PROPERTIES MACOSX_RPATH 0
)
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
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
Markdown
is supported
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