diff --git a/.github/workflows/cmake-multiplatform.yml b/.github/workflows/cmake-multiplatform.yml index a4ef1e1..18d3f24 100644 --- a/.github/workflows/cmake-multiplatform.yml +++ b/.github/workflows/cmake-multiplatform.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest] - build_type: [Debug] + build_type: [Release] include: - os: windows-latest c_compiler: clang diff --git a/CMakeLists.txt b/CMakeLists.txt index d528514..2c21574 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -250,6 +250,7 @@ if(PLATFORM STREQUAL "PLATFORM_GLFW") endif() # Server +if(UNIX) add_executable("${PROJECT_NAME}-server" ${SERVER_SOURCES}) target_compile_definitions("${PROJECT_NAME}-server" PUBLIC "STANDALONE_SERVER" "SERVER_PROFILER") @@ -260,7 +261,7 @@ target_include_directories("${PROJECT_NAME}-server" PUBLIC ) target_link_libraries("${PROJECT_NAME}-server" ${CMAKE_THREAD_LIBS_INIT} png_shared) - +endif() add_executable(${PROJECT_NAME} ${CLIENT_SOURCES}