Skip to content

Commit

Permalink
make the CMakeLists cmake config clean again
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri Rusin committed Nov 14, 2023
1 parent e238d4a commit b355c3b
Showing 1 changed file with 0 additions and 49 deletions.
49 changes: 0 additions & 49 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,55 +35,6 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
endif()
endif()

# Ensure the static/ directory exists
set(STATIC_DIR "${PROJECT_SOURCE_DIR}/static")

# Check if the directory exists and print a message if it does
if(EXISTS "${STATIC_DIR}")
message(STATUS "YEAH, STATIC EXISTS at ${STATIC_DIR}")
else()
message(STATUS "STATIC directory DOES NOT EXIST :((( at ${STATIC_DIR}")
endif()



# Check if the IOHexperimenter directory exists and list its contents
if(EXISTS "${PROJECT_SOURCE_DIR}")
file(GLOB IOHEXPERIMENTER_CONTENTS "${PROJECT_SOURCE_DIR}/*")
message(STATUS "Listing contents of IOHexperimenter:")
foreach(FILE ${IOHEXPERIMENTER_CONTENTS})
message(STATUS " ${FILE}")
endforeach()
else()
message(STATUS "IOHexperimenter directory DOES NOT EXIST at ${PROJECT_SOURCE_DIR}")
endif()



# Check if the IOHexperimenter directory exists and list its contents
if(EXISTS "${PROJECT_SOURCE_DIR}/IOHexperimenter")
file(GLOB IOHEXPERIMENTER_CONTENTS "${PROJECT_SOURCE_DIR}/IOHexperimenter/*")
message(STATUS "Listing contents of IOHexperimenter:")
foreach(FILE ${IOHEXPERIMENTER_CONTENTS})
message(STATUS " ${FILE}")
endforeach()
else()
message(STATUS "IOHexperimenter directory DOES NOT EXIST at ${PROJECT_SOURCE_DIR}/IOHexperimenter")
endif()
















# Define project targets.
Expand Down

0 comments on commit b355c3b

Please sign in to comment.