Skip to content

Commit

Permalink
add: aggiunto file cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
angelof-exe committed Aug 2, 2024
1 parent 45b272d commit b3f0a21
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
cmake_minimum_required(VERSION 3.10)

# Nome del progetto
project(CleanPllLoop)

# Imposta lo standard del C++
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED True)

# Aggiungi il file sorgente
set(SOURCE_FILES clean_pll_loop.cpp)

# Trova le librerie Boost
find_package(Boost REQUIRED COMPONENTS iostreams system filesystem)

# Include le directory di Boost
include_directories(${Boost_INCLUDE_DIRS})

# Crea l'eseguibile
add_executable(main ${SOURCE_FILES})

# Linka le librerie Boost
target_link_libraries(main ${Boost_LIBRARIES})

0 comments on commit b3f0a21

Please sign in to comment.