This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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}) |