# ------
IF(OMNIORB_STATUS)
- SET(OMNIORB_INCLUDES)
+ SET(OMNIORB_INCLUDES) # to be removed
+ SET(OMNIORB_INCLUDES_DIR)
ENDIF(OMNIORB_STATUS)
IF(OMNIORB_STATUS)
IF(OMNIORB_ROOT_USER)
SET(OMNIORB_INCLUDE_TO_FIND omniORB4/CORBA.h)
FIND_PATH(OMNIORB_INCLUDE_DIR1 ${OMNIORB_INCLUDE_TO_FIND} PATHS ${OMNIORB_INCLUDE_PATHS} ${OMNIORB_FIND_PATHS_OPTION})
IF(OMNIORB_INCLUDE_DIR1)
- SET(OMNIORB_INCLUDES ${OMNIORB_INCLUDES} -I${OMNIORB_INCLUDE_DIR1})
+ SET(OMNIORB_INCLUDES ${OMNIORB_INCLUDES} -I${OMNIORB_INCLUDE_DIR1}) # to be removed
+ SET(OMNIORB_INCLUDES_DIR ${OMNIORB_INCLUDE_DIR1})
MESSAGE(STATUS "${OMNIORB_INCLUDE_TO_FIND} found in ${OMNIORB_INCLUDE_DIR1}")
ELSE(OMNIORB_INCLUDE_DIR1)
SET(OMNIORB_STATUS 0)
SET(OMNIORB_INCLUDE_TO_FIND CORBA.h)
FIND_PATH(OMNIORB_INCLUDE_DIR2 ${OMNIORB_INCLUDE_TO_FIND} PATHS ${OMNIORB_INCLUDE_PATHS} ${OMNIORB_FIND_PATHS_OPTION})
IF(OMNIORB_INCLUDE_DIR2)
- SET(OMNIORB_INCLUDES ${OMNIORB_INCLUDES} -I${OMNIORB_INCLUDE_DIR2})
+ SET(OMNIORB_INCLUDES ${OMNIORB_INCLUDES} -I${OMNIORB_INCLUDE_DIR2}) # to be removed
+ SET(OMNIORB_INCLUDES_DIR ${OMNIORB_INCLUDES_DIR} ${OMNIORB_INCLUDE_DIR2})
MESSAGE(STATUS "${OMNIORB_INCLUDE_TO_FIND} found in ${OMNIORB_INCLUDE_DIR2}")
ELSE(OMNIORB_INCLUDE_DIR2)
SET(OMNIORB_STATUS 0)
# ------
IF(OMNIORB_STATUS)
- SET(OMNIORB_CXXFLAGS)
+ SET(OMNIORB_CXXFLAGS) # to be removed
# SET(OMNIORB_CXXFLAGS ${OMNIORB_CXXFLAGS} -DOMNIORB_VERSION=4)
- SET(OMNIORB_CXXFLAGS ${OMNIORB_CXXFLAGS} -D__x86__)
- SET(OMNIORB_CXXFLAGS ${OMNIORB_CXXFLAGS} -DCOMP_CORBA_DOUBLE)
- SET(OMNIORB_CXXFLAGS ${OMNIORB_CXXFLAGS} -DCOMP_CORBA_LONG)
+ SET(OMNIORB_CXXFLAGS ${OMNIORB_CXXFLAGS} -D__x86__) # to be removed
+ SET(OMNIORB_CXXFLAGS ${OMNIORB_CXXFLAGS} -DCOMP_CORBA_DOUBLE) # to be removed
+ SET(OMNIORB_CXXFLAGS ${OMNIORB_CXXFLAGS} -DCOMP_CORBA_LONG) # to be removed
+ SET(OMNIORB_FLAGS "-D__x86__ -DCOMP_CORBA_DOUBLE -DCOMP_CORBA_LONG")
IF(WINDOWS)
SET(OMNIORB_CXXFLAGS ${OMNIORB_CXXFLAGS} -D__WIN32__)
# # # # SET(OMNIORB_CXXFLAGS ${OMNIORB_CXXFLAGS} -D_WIN32_WINNT=0x0400)
SET(OMNIORB_IDL ${OMNIIDL_EXECUTABLE})
SET(CORBA_INCLUDES ${OMNIORB_INCLUDES})
SET(CORBA_CXXFLAGS ${OMNIORB_CXXFLAGS})
+ SET(CORBA_FLAGS ${OMNIORB_CXXFLAGS})
SET(CORBA_LIBS ${OMNIORB_LIBS})
SET(OMNIORB_IDLCXXFLAGS -Wba -nf)
SET(OMNIORB_IDLPYFLAGS -bpython)