Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
Shift around to make internal reconciliation commits simpler. 

Signed-off-by: Ahsan <34895037+ahsanabbas123@users.noreply.github.com>
  • Loading branch information
ahsanabbas123 committed Nov 2, 2023
1 parent 52e583c commit edda642
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
cmake_minimum_required(VERSION 3.25)

project(rmq LANGUAGES C CXX)

set(CMAKE_EXPORT_COMPILE_COMMANDS 1)
enable_testing()

set(CMAKE_POSITION_INDEPENDENT_CODE ON)

add_subdirectory(src)
add_subdirectory(examples)

if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
add_compile_options(-Wall -Wextra -Wpedantic)
Expand All @@ -33,7 +34,3 @@ else()
# In general the sunpro/xl warnings are not worth the bother
set(CMAKE_COMPILE_WARNING_AS_ERROR ON)
endif()


add_subdirectory(src)
add_subdirectory(examples)

0 comments on commit edda642

Please sign in to comment.