Skip to content
Snippets Groups Projects
Commit 904358a2 authored by Jerome Royan's avatar Jerome Royan
Browse files

move IPC definition on top on CMakeLists.txt

parent b4cb4b7a
No related branches found
No related tags found
2 merge requests!6Correction of many fixes,!5force the use of version 6.6.0 of openapi-generator-cli due to a bug since...
...@@ -22,6 +22,8 @@ cmake_minimum_required(VERSION 3.23) ...@@ -22,6 +22,8 @@ cmake_minimum_required(VERSION 3.23)
project(worldStorageRestBedcppServer VERSION 2.1.0) project(worldStorageRestBedcppServer VERSION 2.1.0)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
set(TARGET_NAME worldStorageRestBedcppServer) set(TARGET_NAME worldStorageRestBedcppServer)
find_package(Boost REQUIRED) find_package(Boost REQUIRED)
...@@ -31,7 +33,7 @@ find_package(restbed REQUIRED) ...@@ -31,7 +33,7 @@ find_package(restbed REQUIRED)
file(STRINGS "${CMAKE_CURRENT_LIST_DIR}/.openapi-generator/FILES" GENERATED_SOURCES) file(STRINGS "${CMAKE_CURRENT_LIST_DIR}/.openapi-generator/FILES" GENERATED_SOURCES)
list(FILTER GENERATED_SOURCES INCLUDE REGEX ".*cpp$") list(FILTER GENERATED_SOURCES INCLUDE REGEX ".*cpp$")
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
set(GENERATED_SOURCES_INCLUDE_DIRS set(GENERATED_SOURCES_INCLUDE_DIRS
${CMAKE_CURRENT_LIST_DIR}/model ${CMAKE_CURRENT_LIST_DIR}/model
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment