Back to home page

Enduro/X

 
 

    


0001 ##
0002 ## @brief Analyzes the case when there are queued message but server dies unexpectedly.
0003 ##   In This case, then caller will get timeout, but those others in queue,
0004 ##   Should receive server error.
0005 ##   Currenlty this case will also assists in cases when shutdown is requested,
0006 ##   Server does exit, but not all requests gets processed, normally there should
0007 ##   be no extry, but for now we will reply with server failure!
0008 ##
0009 ## @file CMakeLists.txt
0010 ##
0011 ## -----------------------------------------------------------------------------
0012 ## Enduro/X Middleware Platform for Distributed Transaction Processing
0013 ## Copyright (C) 2009-2016, ATR Baltic, Ltd. All Rights Reserved.
0014 ## Copyright (C) 2017-2023, Mavimax, Ltd. All Rights Reserved.
0015 ## This software is released under one of the following licenses:
0016 ## AGPL (with Java and Go exceptions) or Mavimax's license for commercial use.
0017 ## See LICENSE file for full text.
0018 ## -----------------------------------------------------------------------------
0019 ## AGPL license:
0020 ##
0021 ## This program is free software; you can redistribute it and/or modify it under
0022 ## the terms of the GNU Affero General Public License, version 3 as published
0023 ## by the Free Software Foundation;
0024 ##
0025 ## This program is distributed in the hope that it will be useful, but WITHOUT ANY
0026 ## WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
0027 ## PARTICULAR PURPOSE. See the GNU Affero General Public License, version 3
0028 ## for more details.
0029 ##
0030 ## You should have received a copy of the GNU Affero General Public License along 
0031 ## with this program; if not, write to the Free Software Foundation, Inc.,
0032 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
0033 ##
0034 ## -----------------------------------------------------------------------------
0035 ## A commercial use license is available from Mavimax, Ltd
0036 ## contact@mavimax.com
0037 ## -----------------------------------------------------------------------------
0038 ##
0039 cmake_minimum_required(VERSION 3.5)
0040 
0041 # Make sure the compiler can find include files from UBF library
0042 include_directories (${ENDUROX_SOURCE_DIR}/libubf
0043                                          ${ENDUROX_SOURCE_DIR}/include
0044                                          ${ENDUROX_SOURCE_DIR}/libnstd
0045                                          ${ENDUROX_SOURCE_DIR}/ubftest)
0046 
0047 
0048 # Add debug options
0049 # By default if RELEASE_BUILD is not defined, then we run in debug!
0050 IF ($ENV{RELEASE_BUILD})
0051         # do nothing
0052 ELSE ($ENV{RELEASE_BUILD})
0053         ADD_DEFINITIONS("-D NDRX_DEBUG")
0054 ENDIF ($ENV{RELEASE_BUILD})
0055 
0056 # Make sure the linker can find the UBF library once it is built.
0057 link_directories (${ENDUROX_BINARY_DIR}/libubf) 
0058 
0059 ############################# Test - executables ###############################
0060 add_executable (atmisv_009 atmisv.c ../../libatmisrv/rawmain_integra.c)
0061 add_executable (atmiclt_009 atmiclt.c)
0062 ################################################################################
0063 ############################# Test - executables ###############################
0064 # Link the executable to the ATMI library & others...
0065 target_link_libraries (atmisv_009 atmisrvinteg atmi ubf nstd m ${RT_LIB} pthread)
0066 target_link_libraries (atmiclt_009 atmi ubf nstd m ${RT_LIB} pthread)
0067 
0068 set_target_properties(atmisv_009 PROPERTIES LINK_FLAGS "$ENV{MYLDFLAGS}")
0069 set_target_properties(atmiclt_009 PROPERTIES LINK_FLAGS "$ENV{MYLDFLAGS}")
0070 ################################################################################
0071 # vim: set ts=4 sw=4 et smartindent: