Skip to content

Instantly share code, notes, and snippets.

View Chrd26's full-sized avatar
🧨
Let's gooo!

The_Runner_01 Chrd26

🧨
Let's gooo!
View GitHub Profile
@Chrd26
Chrd26 / Make MacOS Bundle Resource Files.cmake
Last active May 1, 2024 17:15
MacOS .app file bundle resource files handler code.
# For multiple resources
file(GLOB_RECURSE YOUR_VARIABLE_NAME "relative/path/to/files/folder/* or *.filetype")
# * grabs everything within the directory
# *.filetype grabs everything with has a certain filetype
# Create .app executable
add_executable( ${PROJECT_NAME} MACOSX_BUNDLE
./src/main.cpp ./src/somefile.h
${YOUR_VARIABLE_NAME})