Created
January 20, 2022 12:33
-
-
Save sweemer/dff4b0294eff698a3d670811549d3c35 to your computer and use it in GitHub Desktop.
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
cmake_minimum_required(VERSION 3.20) | |
project(Chp2_Equity_CLionTest) | |
set(CMAKE_CXX_STANDARD 14) | |
set(BOOST_ROOT "C:/local/boost_1_65_0") | |
set(Boost_INCLUDE_DIR "C:/local/boost_1_65_0" ) | |
set(Boost_LIBRARY_DIR "C:/local/boost_1_65_0/lib32-msvc-14.1" ) | |
find_package(Boost 1.65.0 REQUIRED) | |
find_package(QuantLib CONFIG REQUIRED) | |
add_executable(Chp2_Equity_CLionTest main.cpp) | |
target_include_directories(Chp2_Equity_CLionTest PRIVATE ${Boost_INCLUDE_DIRS}) | |
target_link_libraries(Chp2_Equity_CLionTest PRIVATE ${Boost_LIBRARIES}) | |
target_link_libraries(Chp2_Equity_CLionTest PRIVATE QuantLib::QuantLib) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment