cmake : create solution folders (#2004)

* Create solution folders in the CMake build.

* Fixed non-SDL2 build.

* Fixed emscripten build.
This commit is contained in:
ulatekh
2024-04-09 18:23:33 +03:00
committed by GitHub
parent 13c22321d1
commit 319fe5146e
3 changed files with 38 additions and 1 deletions
+3
View File
@@ -1,7 +1,10 @@
add_subdirectory(libwchess)
set_target_properties(wchess-core PROPERTIES FOLDER "libs")
if (EMSCRIPTEN)
add_subdirectory(wchess.wasm)
set_target_properties(wchess.wasm PROPERTIES FOLDER "libs")
else()
add_subdirectory(wchess.cmd)
set_target_properties(wchess PROPERTIES FOLDER "libs")
endif()