# WARNING :
# On WIN32, these paths will only be right at *BUILD TIME* in VS6 or .net
# Cannot be used at cmake run time !
+
+SET(BBTK_LIB_PATH ${CMAKE_CREA_LIB_PATH} )
+
IF(WIN32)
IF(MSVC10) #FCY 18-06-10
SET(BBTK_BIN_PATH $(OutDir))
SET(BBTK_BIN_PATH $(SolutionDir)/$(OutDir))
ENDIF(CMAKE_GENERATOR STREQUAL "Visual Studio 6")
ENDIF(MSVC10)
- SET(BBTK_LIB_PATH bin)
SET(BBTK_BBS2CPP ${BBTK_BIN_PATH}/bbs2cpp.exe)
SET(BBTK_BBC ${BBTK_BIN_PATH}/bbc.exe)
SET(BBTK_BBI ${BBTK_BIN_PATH}/bbi.exe)
SET(BBTK_BBFY ${BBTK_BIN_PATH}/bbfy.exe)
ELSE(WIN32)
- if( NOT APPLE )
- # check 64 bit
- if( ${CMAKE_SIZEOF_VOID_P} EQUAL 4 )
- set( HAVE_64_BIT 0 )
- SET(BBTK_LIB_PATH lib)
- else( ${CMAKE_SIZEOF_VOID_P}EQUAL 4 )
- set( HAVE_64_BIT 1 )
- SET(BBTK_LIB_PATH lib64)
- endif( ${CMAKE_SIZEOF_VOID_P} EQUAL 4 )
- endif( NOT APPLE )
# For Xcode : have to test the cmake generator !
IF ( CMAKE_GENERATOR STREQUAL Xcode)
SET(BBTK_BIN_PATH ${EXECUTABLE_OUTPUT_PATH}/Debug)