Removed MacOS target

This commit is contained in:
CPunch 2022-03-15 12:57:58 -05:00
parent 35e85252ee
commit 33219ee9d6
2 changed files with 3 additions and 21 deletions

View File

@ -45,20 +45,4 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: laika-demo-binaries-windows
path: bin
macOS-build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Create CMake build files
run: cmake -B build
- name: Check compilation
run: cmake --build build
- name: Upload build artifact
uses: actions/upload-artifact@v2
with:
name: laika-demo-binaries-macos
path: bin

View File

@ -5,7 +5,7 @@ set(CMAKE_C_STANDARD 11)
set(CMAKE_C_STANDARD_REQUIRED ON)
# Set the project as the default startup project for VS
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT Laika)
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT LaikaLib)
# include our cmake modules
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake-modules" ${CMAKE_MODULE_PATH})
@ -42,10 +42,8 @@ add_subdirectory(lib)
add_subdirectory(tools)
# these subprojects don't support windows (sorry)
if(NOT WIN32)
if(NOT WIN32 AND (UNIX AND NOT APPLE))
add_subdirectory(bot) # windows support Soon:tm:
add_subdirectory(cnc)
add_subdirectory(shell)
if(NOT APPLE)
add_subdirectory(bot) # windows support Soon:tm:
endif()
endif()