I need to add exe as a resourse to another exe. I am using Windows. I tried many things in CMake that i found on google but when I open the exe after compiling and linking on CFF explorer i dont see anything.
I tried things like:
add_executable(ExecutableTarget
main.c
hello.exe)
set(RESOURCE_FILES
hello.exe)
set_target_properties(ExecutableTarget PROPERTIES
MACOSX_BUNDLE TRUE
MACOSX_FRAMEWORK_IDENTIFIER org.cmake.ExecutableTarget
RESOURCE "${RESOURCE_FILES}")
can someone help me please?