Trying to port an application on mac and not sure how to correctly support
-framework with CMAKE_CXX_FLAGS
SET(CMAKE_CXX_FLAGS "-O3 -flto=full -ffast-math -DNDEBUG -std=c++17
-fcolor-diagnostics -nostdinc++
-I/usr/local/Cellar/llvm/9.0.0/include/c++/v1
-L/usr/local/Cellar/llvm/9.0.0/lib -L/usr/local/Cellar/freeglut/3.0.0/lib
-L/usr/local/Cellar/sdl2/2.0.10/lib
-L/usr/local/Cellar/sdl2_mixer/2.0.4/lib
-Wl,-rpath,/usr/local/Cellar/llvm/9.0.0/lib -pipe -DASIO_STANDALONE
-DGLEW_NO_GLU -DBOOST_BIMAP_DISABLE_SERIALIZATION -framework OpenGL
-framework Cocoa -framework IOKit -framework CoreVideo -lglut -lSDL2
-lSDL2_mixer -ldl -pthread -Wall -Wextra -Wshadow -Wpointer-arith
-Wcast-align -Wstrict-prototypes -Werror-implicit-function-declaration
-Wformat=2 -Wnull-dereference -Wstrict-overflow=5 -Wno-unused-private-field
-Wno-unused-command-line-argument -Wno-narrowing")
--
You received this message because you are subscribed to the Google Groups
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/emscripten-discuss/4e01b966-b92d-4c70-aa8d-f5f3b56ab0b7%40googlegroups.com.