mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
wasm
exclude server, ui and tests when compiling to wasm
This commit is contained in:
+7
-1
@@ -21,14 +21,20 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY
|
|||||||
set(PROJECT_DIR ${CMAKE_CURRENT_LIST_DIR})
|
set(PROJECT_DIR ${CMAKE_CURRENT_LIST_DIR})
|
||||||
|
|
||||||
# defines targets and sources
|
# defines targets and sources
|
||||||
|
if(NOT EMSCRIPTEN)
|
||||||
add_subdirectory(UI)
|
add_subdirectory(UI)
|
||||||
|
endif()
|
||||||
|
|
||||||
# contains an "external" library we will link to
|
# contains an "external" library we will link to
|
||||||
add_subdirectory(external)
|
add_subdirectory(external)
|
||||||
|
|
||||||
# defines the executable
|
# defines the executable
|
||||||
add_subdirectory(tools)
|
if(NOT EMSCRIPTEN)
|
||||||
|
add_subdirectory(server)
|
||||||
|
endif()
|
||||||
|
|
||||||
# enable testing and define tests
|
# enable testing and define tests
|
||||||
|
if(NOT EMSCRIPTEN)
|
||||||
enable_testing()
|
enable_testing()
|
||||||
add_subdirectory(tests)
|
add_subdirectory(tests)
|
||||||
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user