Skip to content

Commit

Permalink
Removing from compilation code that the older compiler from the build…
Browse files Browse the repository at this point in the history
… machine can't compile yet.
  • Loading branch information
monamimani committed Jun 3, 2024
1 parent d150cdf commit 99d2ead
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 4 deletions.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,12 @@ include(CMake/GetCPM.cmake)

cmake_print_variables(CMAKE_VERSION)

#if(MSVC)
# set_target_properties(LLVMInstallDir PROPERTIES VS_GLOBAL_LLVMInstallDir "C:/Program Files/LLVM/bin")
#endif()

# cmake_print_variables(CMAKE_MODULE_PATH)
# set(CMAKE_VERBOSE_MAKEFILE ON)
#set(CMAKE_VERBOSE_MAKEFILE ON)

# get_filename_component(WorkspaceName ${CMAKE_SOURCE_DIR} NAME)
# string(REPLACE " " "_" WorkspaceName ${WorkspaceName})
Expand Down
19 changes: 16 additions & 3 deletions Projects/CodeIncubator/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,27 @@ project(CodeIncubator

get_filename_component(targetName ${CMAKE_CURRENT_LIST_DIR} NAME)

list(APPEND unssuportedSources
)

if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "19.41.33901.0")
list(APPEND unssuportedSources
CoroErrorManagement/CoroErrorManagementUtilities.h
CoroErrorManagement/CoroErrorManagementUtilities.cpp
CoroErrorManagement/CoroResult.h
)
endif()
endif()


list(APPEND interfaceSources
)
list(APPEND publicSources
)
list(APPEND privateSources
CoroErrorManagement/CoroErrorManagementUtilities.h
CoroErrorManagement/CoroErrorManagementUtilities.cpp
CoroErrorManagement/CoroResult.h
${unssuportedSources}

)
list(APPEND publicCxxModules
)
Expand Down

0 comments on commit 99d2ead

Please sign in to comment.