Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code
- Loading branch information
Showing
9 changed files
with
369 additions
and
274 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
project(RegExp) | ||
set(APP_VERSION "1.0") | ||
|
||
cmake_minimum_required(VERSION 2.6.0 FATAL_ERROR) | ||
|
||
find_package(Qt4) | ||
|
||
include_directories( | ||
${QT_INCLUDE_DIR} | ||
${QT_QTCORE_INCLUDE_DIR} | ||
${QT_QTGUI_INCLUDE_DIR} | ||
${CMAKE_CURRENT_SOURCE_DIR} | ||
${CMAKE_CURRENT_BINARY_DIR} | ||
) | ||
link_directories(${QT_LIBRARY_DIR}) | ||
|
||
add_definitions(-D_UNICODE) | ||
|
||
QT4_WRAP_CPP(RegExp_MOC_SRCS | ||
regexpdialog.h | ||
) | ||
|
||
QT4_WRAP_UI(RegExp_UIC_HDRS | ||
regexpdialog.ui | ||
) | ||
|
||
SET(RegExp_SRCS | ||
${RegExp_UIC_HDRS} | ||
${RegExp_MOC_SRCS} | ||
main.cpp | ||
regexpdialog.cpp | ||
regexpdialog.h | ||
) | ||
|
||
if (WIN32) | ||
SET(RegExp_LIBS | ||
debug qtmaind.lib | ||
optimized qtmain.lib | ||
) | ||
endif(WIN32) | ||
|
||
SET(RegExp_LIBS | ||
${RegExp_LIBS} | ||
${QT_QTCORE_LIBRARY_DEBUG} | ||
${QT_QTCORE_LIBRARY} | ||
${QT_QTGUI_LIBRARY_DEBUG} | ||
${QT_QTGUI_LIBRARY} | ||
${QT_QTXML_LIBRARY_DEBUG} | ||
${QT_QTXML_LIBRARY} | ||
) | ||
|
||
add_executable(RegExp WIN32 ${RegExp_SRCS}) | ||
|
||
target_link_libraries(RegExp ${RegExp_LIBS}) | ||
|
||
set_target_properties(RegExp PROPERTIES OUTPUT_NAME "RegExp") | ||
set_target_properties(RegExp PROPERTIES DEBUG_OUTPUT_NAME "RegExpD") | ||
# dirty hack to avoid Debug/Release subdirectory | ||
set_target_properties(RegExp PROPERTIES PREFIX "../") | ||
set_target_properties(RegExp PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
###################################################################### | ||
# Automatically generated by qmake (1.06c) Sat Apr 9 10:49:46 2005 | ||
# Automatically generated by qmake (2.01a) Di 3. Jul 11:56:12 2012 | ||
###################################################################### | ||
|
||
TEMPLATE = app | ||
TARGET = | ||
DEPENDPATH += . | ||
INCLUDEPATH += . | ||
|
||
# Input | ||
HEADERS += regexpdialog.h | ||
INTERFACES += regexpdialogbase.ui | ||
FORMS += regexpdialog.ui | ||
SOURCES += main.cpp regexpdialog.cpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.