Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cmake_minimum_required (VERSION 2.6)
- SET ( CMAKE_CXX_FLAGS "-fpermissive -Wno-write-strings ${CMAKE_CXX_FLAGS} -v" )
- SET ( CMAKE_C_FLAGS "-Wno-write-strings ${CMAKE_C_FLAGS} -v" )
- #SET ( CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lm -lz -v -stdlib=libstdc++" )
- #SET ( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -lm -lz" )
- #SET ( CMAKE_STATIC_LINKER_FLAGS "${CMAKE_STATIC_LINKER_FLAGS} -lm -lz" )
- SET (wxWidgets_USE_DEBUG OFF)
- SET (wxWidgets_USE_UNICODE ON)
- SET (wxWidgets_USE_UNIVERSAL ON)
- SET (wxWidgets_USE_STATIC ON)
- project (acu)
- add_executable (acu
- cmdline.c
- main.cpp
- widgets.cpp
- ui.cpp
- fileformat.cpp
- md5.cpp
- blowfish.cpp
- memo.cpp
- bodychart.cpp
- misc.cpp
- ../data/data.cpp
- wxwidgets/about_dialog.cpp
- wxwidgets/accounting_dialog.cpp
- wxwidgets/add_extraflag_dialog.cpp
- wxwidgets/advancedsearch.cpp
- wxwidgets/consentement_dialog.cpp
- wxwidgets/csst_dialog.cpp
- wxwidgets/editorwindow.cpp
- wxwidgets/exposition.cpp
- wxwidgets/iconselector.cpp
- wxwidgets/keygen.cpp
- wxwidgets/license_dialog.cpp
- wxwidgets/mainwindow.cpp
- wxwidgets/needleedit_dialog.cpp
- wxwidgets/newfile_dialog.cpp
- wxwidgets/newmemo.cpp
- wxwidgets/newuser.cpp
- wxwidgets/noteedit.cpp
- wxwidgets/openfile.cpp
- wxwidgets/password.cpp
- wxwidgets/pointedit.cpp
- wxwidgets/prefs.cpp
- wxwidgets/progress_dialog.cpp
- wxwidgets/test.cpp
- wxwidgets/testpanel.cpp
- wxwidgets/unlockfile.cpp
- )
- # Note that for MinGW users the order of libs is important!
- find_package (wxWidgets
- COMPONENTS net adv core base
- REQUIRED
- )
- include (${wxWidgets_USE_FILE})
- # and for each of your dependent executable/library targets:
- target_link_libraries (acu PUBLIC ${wxWidgets_LIBRARIES} PUBLIC -lm PUBLIC -lz PUBLIC -lpthread)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement