Squashed 'external/libqoirdo/' content from commit 59f81203c9
git-subtree-dir: external/libqoirdo git-subtree-split: 59f81203c99b2bd6edda0c84b98ba66a38f0e2c4
This commit is contained in:
29
CMakeLists.txt
Normal file
29
CMakeLists.txt
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