-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add the marked-up object compiler, moc, package to conan center #5832
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Co-authored-by: SpaceIm <[email protected]>
This comment has been minimized.
This comment has been minimized.
Now you need to properly set cpp_info.names in package_info() |
|
This comment has been minimized.
This comment has been minimized.
Co-authored-by: Yoann Potinet <[email protected]>
This comment has been minimized.
This comment has been minimized.
I detected other pull requests that are modifying moc/all recipe: This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there. |
Co-authored-by: Chris Mc <[email protected]>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typedef char* String; | ||
typedef int integer; | ||
typedef long Long; | ||
|
||
#include "bizobj/address/Address.h" | ||
|
||
int main(int argc, char **argv) { | ||
Address address; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it test link to uf
library? It's the only one I see under lib/uf
folder. Since this folder was not added to of cpp_info.libdirs
, I'm wondering if cpp_info.libs
is not empty...
Why upstream CMakeLists install this library in this subfolder instead of lib
folder directly?
self.cpp_info.builddirs.append(join("lib", "moc")) | ||
self.cpp_info.builddirs.append(join("lib", "uf")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self.cpp_info.builddirs.append(join("lib", "moc")) | |
self.cpp_info.builddirs.append(join("lib", "uf")) |
Those folders contain CMake target files, they shouldn't be packaged
def package(self): | ||
cmake = self._configure_cmake() | ||
cmake.install() | ||
tools.remove_files_by_mask(join(self.package_folder, "lib"), "*-config.cmake") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tools.remove_files_by_mask(join(self.package_folder, "lib"), "*-config.cmake") | |
tools.rmdir(join(self.package_folder, "lib", "moc")) | |
tools.remove_files_by_mask(join(self.package_folder, "lib", "uf"), "*.cmake") |
From what I see in installation layout:
-- Install configuration: "Debug"
-- Installing: /home/conan/w/BuildSingleReference/.conan/data/moc/0.9.401/_/_/package/5ab7aa3bc61b93e1b46714a0ee54d9a856dbe3b6/bin/moc
-- Installing: /home/conan/w/BuildSingleReference/.conan/data/moc/0.9.401/_/_/package/5ab7aa3bc61b93e1b46714a0ee54d9a856dbe3b6/lib/moc/moc-targets.cmake
-- Installing: /home/conan/w/BuildSingleReference/.conan/data/moc/0.9.401/_/_/package/5ab7aa3bc61b93e1b46714a0ee54d9a856dbe3b6/lib/moc/moc-targets-debug.cmake
-- Installing: /home/conan/w/BuildSingleReference/.conan/data/moc/0.9.401/_/_/package/5ab7aa3bc61b93e1b46714a0ee54d9a856dbe3b6/lib/moc/moc-config.cmake
-- Installing: /home/conan/w/BuildSingleReference/.conan/data/moc/0.9.401/_/_/package/5ab7aa3bc61b93e1b46714a0ee54d9a856dbe3b6/lib/cmake/Moc.cmake
-- Installing: /home/conan/w/BuildSingleReference/.conan/data/moc/0.9.401/_/_/package/5ab7aa3bc61b93e1b46714a0ee54d9a856dbe3b6/lib/cmake/BisonFlex.cmake
-- Installing: /home/conan/w/BuildSingleReference/.conan/data/moc/0.9.401/_/_/package/5ab7aa3bc61b93e1b46714a0ee54d9a856dbe3b6/lib/uf/libuf.a
-- Installing: /home/conan/w/BuildSingleReference/.conan/data/moc/0.9.401/_/_/package/5ab7aa3bc61b93e1b46714a0ee54d9a856dbe3b6/lib/uf/uf-targets.cmake
-- Installing: /home/conan/w/BuildSingleReference/.conan/data/moc/0.9.401/_/_/package/5ab7aa3bc61b93e1b46714a0ee54d9a856dbe3b6/lib/uf/uf-targets-debug.cmake
-- Installing: /home/conan/w/BuildSingleReference/.conan/data/moc/0.9.401/_/_/package/5ab7aa3bc61b93e1b46714a0ee54d9a856dbe3b6/include/generic.h
-- Installing: /home/conan/w/BuildSingleReference/.conan/data/moc/0.9.401/_/_/package/5ab7aa3bc61b93e1b46714a0ee54d9a856dbe3b6/include/ufAll.h
-- Installing: /home/conan/w/BuildSingleReference/.conan/data/moc/0.9.401/_/_/package/5ab7aa3bc61b93e1b46714a0ee54d9a856dbe3b6/include/ufDate.h
-- Installing: /home/conan/w/BuildSingleReference/.conan/data/moc/0.9.401/_/_/package/5ab7aa3bc61b93e1b46714a0ee54d9a856dbe3b6/include/ufDef.h
-- Installing: /home/conan/w/BuildSingleReference/.conan/data/moc/0.9.401/_/_/package/5ab7aa3bc61b93e1b46714a0ee54d9a856dbe3b6/include/ufFileNm.h
-- Installing: /home/conan/w/BuildSingleReference/.conan/data/moc/0.9.401/_/_/package/5ab7aa3bc61b93e1b46714a0ee54d9a856dbe3b6/include/ufIHshT.h
-- Installing: /home/conan/w/BuildSingleReference/.conan/data/moc/0.9.401/_/_/package/5ab7aa3bc61b93e1b46714a0ee54d9a856dbe3b6/include/ufList.h
-- Installing: /home/conan/w/BuildSingleReference/.conan/data/moc/0.9.401/_/_/package/5ab7aa3bc61b93e1b46714a0ee54d9a856dbe3b6/include/ufPtr.h
-- Installing: /home/conan/w/BuildSingleReference/.conan/data/moc/0.9.401/_/_/package/5ab7aa3bc61b93e1b46714a0ee54d9a856dbe3b6/include/ufSHshT.h
-- Installing: /home/conan/w/BuildSingleReference/.conan/data/moc/0.9.401/_/_/package/5ab7aa3bc61b93e1b46714a0ee54d9a856dbe3b6/include/ufString.h
All green in build 20 (
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This pull request has been automatically closed because it has not had recent activity. Thank you for your contributions. |
Specify library name and version: moc/0.9.3
Moc, for marked-up object compiler, is an IDL-like code generator developed in the early 1990s and is used to generate code, sql and other text files from annotated data model. see: https://github.com/zuut/moc
conan-center hook activated.