sq9p-wspaker/utils/CMakeLists.txt

22 wiersze
511 B
CMake

cmake_minimum_required(VERSION 3.10)
set(CXX_STANDARD 17)
set(CXX_STANDARD_REQUIRED True)
set(COMPILER_OPTIONS)
add_subdirectory(../ ${CMAKE_CURRENT_BINARY_DIR}/wspaker)
project(paker_utils)
add_executable(paker_test paker_test.cpp)
target_link_libraries(paker_test wspaker)
add_executable(sfd decoder.cpp)
target_link_libraries(paker_test wspaker)
add_library(paker_py SHARED py_lib.cpp)
target_link_libraries(paker_py wspaker)
set_target_properties(paker_py PROPERTIES POSITION_INDEPENDENT_CODE ON)