Merge commit '1c189bfd9c34436956d439355e3ecab85ad22afa' as 'external/libqoirdo'
This commit is contained in:
29
external/libqoirdo/CMakeLists.txt
vendored
Normal file
29
external/libqoirdo/CMakeLists.txt
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
|
||||
project(libqoirdo)
|
||||
|
||||
if(NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE Debug)
|
||||
endif()
|
||||
|
||||
message( ${PROJECT_NAME} " build type: " ${CMAKE_BUILD_TYPE} )
|
||||
|
||||
add_library(qoirdo
|
||||
./qoirdo.hpp
|
||||
./qoirdo.cpp
|
||||
)
|
||||
|
||||
target_compile_features(qoirdo PUBLIC cxx_std_11)
|
||||
|
||||
#if (NOT MSVC)
|
||||
# target_link_libraries(rdopng m pthread)
|
||||
#endif()
|
||||
|
||||
########################################
|
||||
|
||||
add_executable(qoirdo_tool
|
||||
tool.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(qoirdo_tool qoirdo)
|
||||
|
Reference in New Issue
Block a user