Skip to content
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

CMake install not running when using this UE4CMake #34

Open
dhathris opened this issue Dec 23, 2024 · 1 comment
Open

CMake install not running when using this UE4CMake #34

dhathris opened this issue Dec 23, 2024 · 1 comment

Comments

@dhathris
Copy link

I am including this project as a plugin in my project for developing a third-party plugin. I followed all the steps listed in README. It compiles and builds my third-party DLL for the plugin fine. But I also have an install step in the CMakeLists.txt file for the third-party library module. UE4CMake is completely ignoring the install instruction in the CMakeList.txt file of this module. I attached the logs here. Do you have any suggestions on how to get the install instruction to work aside from including an explicit file copy instruction in the CMakeLists.txt file? I am running with UE 5.5 on Windows-11 professional OS.
CSpicePlugin.log

@caseymcc
Copy link
Owner

caseymcc commented Dec 29, 2024

install is a separate stage in cmake, it has 3; setup, build, and install. For this plugin it only runs the setup and build during the Unreal build stage. In general I believe the Unreal package stage will automatically include the library that is linked in the build stage so you should not need to run the cmake install stage. I am not sure on the package stage though as most of my testing has been in development so never packet for a release.

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

No branches or pull requests

2 participants