Commit 56bf607f authored by Arnaud Blanchard's avatar Arnaud Blanchard
Browse files

Update CMakeLists.txt

parent 2fc57d4b
cmake_minimum_required(VERSION 2.6)
get_filename_component(PROJECT_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) #The name of the project is the basename of the directory
find_package(blc_core REQUIRED)
#Add your properties with the ones of BL_... which have been set by find_package
add_definitions(-Wall ${BL_DEFINITIONS})
add_executable(${PROJECT_NAME} main.cpp)
target_link_libraries(${PROJECT_NAME} ${BL_LIBRARIES})
add_executable(t_array main.cpp)
target_link_libraries(t_array ${BL_LIBRARIES})
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment