-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
45b272d
commit b3f0a21
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}) |