Skip to content

Commit

Permalink
Restyled by cmake-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and sishir2001 committed Jul 16, 2024
1 parent 2b6554b commit 54e64a3
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
cmake_minimum_required(VERSION 3.10)
project(pinrex)
cmake_minimum_required(VERSION 3.10)
project(pinrex)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED True)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED True)

# Include the generated files for the dependencies
include(${CMAKE_BINARY_DIR}/conan_toolchain.cmake)
include_directories(include)
# Include the generated files for the dependencies
include(${CMAKE_BINARY_DIR}/conan_toolchain.cmake)
include_directories(include)

add_executable(pinrex src/main.cpp)
add_executable(pinrex src/main.cpp)

# Link the json library to your executable
target_link_libraries(pinrex PRIVATE nlohmann_json::nlohmann_json)
# Link the json library to your executable
target_link_libraries(pinrex PRIVATE nlohmann_json::nlohmann_json)

# Specify the installation rules
install(TARGETS pinrex DESTINATION bin) # This line installs the executable to the bin directory
# Specify the installation rules
install(TARGETS pinrex DESTINATION bin) # This line installs the executable to
# the bin directory

0 comments on commit 54e64a3

Please sign in to comment.