aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Sardara <msardara+fdio@cisco.com>2018-02-15 17:41:33 +0100
committerMauro Sardara <msardara+fdio@cisco.com>2018-02-20 18:22:46 +0100
commit3f61eb8d1697f36fac4737665c7cff2d4335e5b2 (patch)
treed591ca4b50f3259abbf98a42002658d27ed52074
parent5d49269b03d3c8f32c671a7c8408c18c921bcbb2 (diff)
Trigger docs build
Change-Id: Iecac50b01eaa82cbae1a1a37203508123c82f42e Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
-rw-r--r--longbow/CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/longbow/CMakeLists.txt b/longbow/CMakeLists.txt
index ac34f8b5..c7219ab3 100644
--- a/longbow/CMakeLists.txt
+++ b/longbow/CMakeLists.txt
@@ -1,6 +1,5 @@
cmake_minimum_required(VERSION 3.2)
project(LongBow)
-
include( CTest )
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
@@ -75,14 +74,14 @@ elseif(COMPILE_FOR_IOS)
endmacro(AddTest)
add_subdirectory(src)
else()
-
+
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_GNU_SOURCE")
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} ${CMAKE_C_FLAGS}")
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} ${CMAKE_C_FLAGS} -DLongBow_DISABLE_ASSERTIONS")
set(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} ${CMAKE_C_FLAGS}")
set(CMAKE_C_FLAGS_MINSIZEREL "${CMAKE_C_FLAGS_RELWITHDEBINFO} ${CMAKE_C_FLAGS}")
-
+
macro(AddTest testFile)
add_executable(${ARGV0} ${ARGV0}.c)
target_link_libraries(${ARGV0} ${PARC_BIN_LIBRARIES})