diff --git a/CMakePresets.json b/CMakePresets.json index c2838d0..f9d239a 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -33,15 +33,9 @@ "generator": "Ninja Multi-Config", "binaryDir": "${sourceDir}/build/${presetName}", "cacheVariables": { - "CMAKE_C_COMPILER": "clang", - "CMAKE_CXX_COMPILER": "clang++" + "CMAKE_C_COMPILER": "C:/Program Files/LLVM/bin/clang.exe", + "CMAKE_CXX_COMPILER": "C:/Program Files/LLVM/bin/clang++.exe" } - }, - { - "name": "unix", - "displayName": "unix", - "generator": "Ninja", - "binaryDir": "${sourceDir}/build/${presetName}" } ] } \ No newline at end of file diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index 289aeb4..7442776 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -1,4 +1,6 @@ +if(CMAKE_CROSSCOMPILING) + add_subdirectory(embedded) -if(win32) - add_subdirectory(tests) +else() +add_subdirectory(tests) endif() \ No newline at end of file