Changeset 9b614da in tol
- Timestamp:
- Mar 19, 2015, 2:05:07 PM (12 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- be3dec5
- Parents:
- 4fce39e
- Location:
- tolbase/generic
- Files:
-
- 2 edited
-
CMakeLists.txt (modified) (3 diffs)
-
tolbase.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tolbase/generic/CMakeLists.txt
r4fce39e r9b614da 6 6 message( STATUS "Using TK_LIBRARY = ${TCL_LIBRARY}" ) 7 7 8 if ( NOT WIN32 ) 8 if ( WIN32 ) 9 set( CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -mwindows" ) 10 else ( WIN32 ) 9 11 # use, i.e. don't skip the full RPATH for the build tree 10 12 SET(CMAKE_SKIP_BUILD_RPATH FALSE) … … 20 22 SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) 21 23 22 23 24 # the RPATH to be used when installing, but only if it's not a system directory 24 25 LIST(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES "${CMAKE_INSTALL_PREFIX}/lib" isSystemDir) … … 26 27 SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib") 27 28 ENDIF("${isSystemDir}" STREQUAL "-1") 28 endif( NOTWIN32 )29 endif( WIN32 ) 29 30 30 31 add_executable( tolbase tolbase.c ) -
tolbase/generic/tolbase.c
r4fce39e r9b614da 14 14 #include "tk.h" 15 15 #include "locale.h" 16 #include <windows.h> 17 16 18 17 19 #ifdef TK_TEST … … 37 39 */ 38 40 41 #pragma comment(linker, "/SUBSYSTEM:windows /ENTRY:mainCRTStartup") 42 39 43 int 40 44 main(argc, argv) … … 53 57 #endif 54 58 extern int TK_LOCAL_APPINIT _ANSI_ARGS_((Tcl_Interp *interp)); 59 60 //HWND hwnd = GetConsoleWindow(); 61 //ShowWindow(hwnd, 0); 55 62 56 63 /*
Note: See TracChangeset
for help on using the changeset viewer.
