-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added emscripten compiler flags and app settings
- Loading branch information
Mario Botsch
committed
Nov 19, 2017
1 parent
978f878
commit 5455514
Showing
2 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,8 @@ file(GLOB SOURCES ./*.cpp) | |
file(GLOB HEADERS ./*.h) | ||
|
||
add_executable(myviewer ${SOURCES} ${HEADERS}) | ||
target_link_libraries(myviewer pmp pmp_gl) | ||
target_link_libraries(myviewer pmp_gl) | ||
|
||
if (EMSCRIPTEN) | ||
set_target_properties(myviewer PROPERTIES LINK_FLAGS "--shell-file ${PROJECT_SOURCE_DIR}/external/pmp-library/src/apps/data/shell.html --preload-file ${PROJECT_SOURCE_DIR}/external/pmp-library/external/pmp-data/off/[email protected]") | ||
endif() |