From: John L. <jr...@us...> - 2011-10-20 03:57:06
|
Update of /cvsroot/wxlua/wxLua/apps In directory vz-cvs-4.sog:/tmp/cvs-serv24331/apps Added Files: CMakeLists.txt Log Message: Add CMake build files for wxLua. --- NEW FILE: CMakeLists.txt --- # --------------------------------------------------------------------------- # CMake build file # --------------------------------------------------------------------------- include(../build/CMakeFunctions.txt) # --------------------------------------------------------------------------- # Project name, sets ${wxLuaApps_SOURCE_DIR} and ${wxLuaApps_BINARY_DIR} project( wxLuaApps ) set( wxLua_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../ CACHE INTERNAL "Root dir of wxLua" FORCE) # --------------------------------------------------------------------------- # CMake build file for wxLua apps # --------------------------------------------------------------------------- include_directories(${wxLua_ROOT_DIR}/ ${wxLua_ROOT_DIR}/modules/ ${wxLua_ROOT_DIR}/modules/lua/src) ADD_EXECUTABLE_FULL( wxLua WIN32 HEADERS "${wxLua_ROOT_DIR}/apps/wxlua/src/*.h" SOURCES "${wxLua_ROOT_DIR}/apps/wxlua/src/*.cpp" ${wxLua_ROOT_DIR}/apps/wxlua/src/wxlua.rc LINK_LIBRARIES wxLuaBindLib wxLuaSocketLib wxLuaDebugLib wxLuaLib LuaLib ${wxWidgets_LIBRARIES} PROPERTIES FOLDER "wxLua/apps") # --------------------------------------------------------------------------- ADD_EXECUTABLE_FULL( wxLuaCan WIN32 HEADERS "${wxLua_ROOT_DIR}/apps/wxluacan/src/*.h" SOURCES "${wxLua_ROOT_DIR}/apps/wxluacan/src/*.cpp" ${wxLua_ROOT_DIR}/apps/wxluacan/src/cansim.rc LINK_LIBRARIES wxLuaBindLib wxLuaSocketLib wxLuaDebugLib wxLuaLib LuaLib ${wxWidgets_LIBRARIES} PROPERTIES FOLDER "wxLua/apps") # --------------------------------------------------------------------------- include_directories(${wxStEdit_ROOT_DIR}/include ${wxStEdit_SETUP_INCLUDE_PATH}) ADD_EXECUTABLE_FULL( wxLuaEdit WIN32 HEADERS "${wxLua_ROOT_DIR}/apps/wxluaedit/src/*.h" SOURCES "${wxLua_ROOT_DIR}/apps/wxluaedit/src/*.cpp" ${wxLua_ROOT_DIR}/apps/wxluaedit/src/wxluaedit.rc LINK_LIBRARIES wxStEditLib wxLuaBindLib wxLuaSocketLib wxLuaDebugLib wxLuaLib LuaLib ${wxWidgets_LIBRARIES} PROPERTIES FOLDER "wxLua/apps") # --------------------------------------------------------------------------- ADD_EXECUTABLE_FULL( wxLuaFreeze WIN32 HEADERS "${wxLua_ROOT_DIR}/apps/wxluafreeze/src/*.h" SOURCES "${wxLua_ROOT_DIR}/apps/wxluafreeze/src/*.cpp" ${wxLua_ROOT_DIR}/apps/wxluafreeze/src/wxluafreeze.rc LINK_LIBRARIES wxLuaBindLib wxLuaSocketLib wxLuaDebugLib wxLuaLib LuaLib ${wxWidgets_LIBRARIES} PROPERTIES FOLDER "wxLua/apps") |