It might be a dummy question about CMake, I followed the instructions on the README
find_package(towr 1.2 REQUIRED)
add_executable(main main.cpp) # Your custom variables, costs and constraints added to TOWR
target_link_libraries(main PUBLIC towr::towr) # adds include directories and libraries
so basically, towr::towr is just for alias naming? If I want to use nlp_formulation.h and other header files for an independent project, basically, I could just put those following lines into cmake?
find_package(towr 1.2 REQUIRED)
target_link_libraries(main PUBLIC towr) # adds include directories and libraries
It might be a dummy question about CMake, I followed the instructions on the README
so basically,
towr::towr
is just for alias naming? If I want to usenlp_formulation.h
and other header files for an independent project, basically, I could just put those following lines into cmake?Thank you so much for your response!